Class Bundler::Worker
In: lib/bundler/worker.rb
Parent: Object

Methods

deq   enq   new   stop  

Classes and Modules

Class Bundler::Worker::WrappedException

Constants

POISON = Object.new

Public Class methods

Creates a worker pool of specified size

@param size [Integer] Size of pool @param func [Proc] job to run in inside the worker pool

Public Instance methods

Retrieves results of job function being executed in worker pool

Enqueue a request to be executed in the worker pool

@param obj [String] mostly it is name of spec that should be downloaded

[Validate]