Module: Async::WorkerPool::BlockingOperationWait

Defined in:
lib/async/worker_pool.rb

Instance Method Summary collapse

Instance Method Details

#blocking_operation_wait(work) ⇒ Object

Wait for the given work to be executed.



21
22
23
# File 'lib/async/worker_pool.rb', line 21

def blocking_operation_wait(work)
	@worker_pool.call(work)
end