Module: Async::WorkerPool::BlockingOperationWait
- Defined in:
- lib/async/worker_pool.rb
Overview
Used to augment the scheduler to add support for blocking operations.
Instance Method Summary collapse
-
#blocking_operation_wait(work) ⇒ Object
Wait for the given work to be executed.
Instance Method Details
#blocking_operation_wait(work) ⇒ Object
Wait for the given work to be executed.
22 23 24 |
# File 'lib/async/worker_pool.rb', line 22 def blocking_operation_wait(work) @worker_pool.call(work) end |