instance method
pop
Ruby on Rails edge
Since v6.0.6.1Signature
pop(worker_id)
No documentation comment.
Parameters
-
worker_idreq
Source
# File activesupport/lib/active_support/testing/parallelization/server.rb, line 36
def pop(worker_id)
if test = @distributor.take(worker_id: worker_id)
@in_flight[[test[0].to_s, test[1]]] = test
end
test
end
Defined in activesupport/lib/active_support/testing/parallelization/server.rb line 36
· View on GitHub
· Improve this page
· Find usages on GitHub