Method: Concurrent::CountDownLatch#wait
- Defined in:
- lib/concurrent-ruby/concurrent/atomic/count_down_latch.rb
#wait(timeout = nil) ⇒ Boolean
Block on the latch until the counter reaches zero or until timeout is reached.
98 99 |
# File 'lib/concurrent-ruby/concurrent/atomic/count_down_latch.rb', line 98 class CountDownLatch < CountDownLatchImplementation end |