Method: Doctrine::Runner#wait
- Defined in:
- lib/doctrine/runner.rb
#wait ⇒ Object
- public
51 52 53 54 55 56 57 |
# File 'lib/doctrine/runner.rb', line 51 def wait synchronize do @condition.wait_until do @enqueued.empty? && @working.empty? end end end |