Module: ZeevexConcurrency::Delayed::LatchBased
Instance Method Summary collapse
Instance Method Details
#ready? ⇒ Boolean
134 135 136 |
# File 'lib/zeevex_concurrency/delayed.rb', line 134 def ready? @_latch.count == 0 end |
#wait(timeout = nil) ⇒ Object
130 131 132 |
# File 'lib/zeevex_concurrency/delayed.rb', line 130 def wait(timeout = nil) @_latch.wait(timeout) end |