Method: Async::Condition#wait

Defined in:
lib/async/condition.rb

#waitObject

Queue up the current fiber and wait on yielding the task.



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

def wait
  @ready.pop
end