class Geode::WorkerPool(T)

Defined in:

geode/worker_pool.cr

Class Method Summary

Instance Method Summary

Class Method Detail

def self.create(spindle : Spindle, parallel : Int32 = 4, &block : Proc(T, Nil)) : WorkerPool(T) #

[View source]
def self.process(items : Enumerable(T), parallel : Int32 = 4, &block : Proc(T, Nil)) #

[View source]

Instance Method Detail

def add(items : Array(T)) #

[View source]
def add(item : T) #

[View source]
def add(*items : T) #

[View source]
def start #

[View source]
def stop #

[View source]