Module: ZeevexConcurrency::Delayed::QueueBased
- Defined in:
- lib/zeevex_concurrency/delayed.rb
Instance Method Summary collapse
Instance Method Details
#ready? ⇒ Boolean
156 157 158 159 160 |
# File 'lib/zeevex_concurrency/delayed.rb', line 156 def ready? @exec_mutex.synchronize do @queue.size > 0 || @executed end end |