instance method
exhausted?
Ruby on Rails edge
Since edge Private — implementation detail, not part of the public APISignature
exhausted?(worker_id)
No documentation comment.
Parameters
-
worker_idreq
Source
# File activesupport/lib/active_support/testing/parallelization/test_distributor.rb, line 154
def exhausted?(worker_id)
queue = @queues[worker_id]
queue.closed? && queue.empty?
end
Defined in activesupport/lib/active_support/testing/parallelization/test_distributor.rb line 154
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Testing::Parallelization::RoundRobinDistributor