Inherits Reference < Object
Creates a new Pool instance. It spawns as many fiber as specified by pool_size. Each spawned fiber instantiates and start a new Worker
Pool
Worker
Registers new wokload to be processed by the Pool
Closes the pool so it does not accept new workloads for processing. However, the pool remains operative until workers finish processing all the workload enqueued before terminate was called
terminate
Waits until all workers have finished (there are no more active Worker fibers)