JoobQ::WorkerManager(T)
Inherits Reference / Object
WorkerManager handles all worker-related operations
Constructors
new(total_workers : Int32, queue : Queue(T))
SourceInstance methods
active_workers
Sourceadd_worker
Sourceremove_worker
Sourcerestart(worker, ex : Exception)
Sourcerunning?
Sourcerunning_workers
Sourcestart_workers
Sourcestop_workers
Sourcestopped
Sourcestopped?
Sourceterminate(worker)
Sourceterminate_channel
Sourcetotal_workers
Sourcetotal_workers=(total_workers : Int32)
Sourceworkers
Sourceworkers_mutex
Source