Method: MonitorMixin::ConditionVariable#wait_until

Defined in:
lib/monitor.rb

#wait_untilObject

Calls wait repeatedly until the given block yields a truthy value.



123
124
125
126
127
# File 'lib/monitor.rb', line 123

def wait_until
  until yield
    wait
  end
end