End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
MonitorMixin::ConditionVariable#wait_while
wait_while
ext/monitor/lib/monitor.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/ext/monitor/lib/monitor.rb, line 114
def wait_while
while yield
wait
end
end
Calls wait repeatedly while the given block yields a truthy value.