Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
parallel_worker
master
ParallelWorker
Base
Fiber
FiberWorker
Process
ProcessWorker
Generated using Crystal 1.14.0
2024-12-05 19:00:16 UTC
class
ParallelWorker::
ProcessWorker(T, R)
ParallelWorker::ProcessWorker(T, R)
Reference
Object
Defined in:
parallel_worker.cr
Constructors
.new
(&block : T -> R)
Instance Method Summary
#exit
#perform
(job : T)
Constructor Detail
def self.
new
(&block : T -> R)
#
[
View source
]
Instance Method Detail
def
exit
#
[
View source
]
def
perform
(job : T)
#
[
View source
]