Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
MonitorMixin::ConditionVariable#wait_while
() { () -> ::boolish } -> untyped
wait_while
ext/monitor/lib/monitor.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/ext/monitor/lib/monitor.rb, line 113
def wait_while
while yield
wait
end
end
Calls wait repeatedly while the given block yields a truthy value.