class ParallelWorker::Fiber(T, R)

Defined in:

parallel_worker.cr

Constructors

Instance methods inherited from class ParallelWorker::Base(ParallelWorker::FiberWorker(T, R), T, R)

perform(job : T) perform, perform_all(jobs : Array(T)) perform_all

Constructor methods inherited from class ParallelWorker::Base(ParallelWorker::FiberWorker(T, R), T, R)

new(num_workers : Int32, &block : T -> R) new

Constructor Detail

def self.new(num_workers : Int32, &block : T -> R) #

[View source]