Method: Contender::Pool::ExecutionByCallerPolicy#on_rejection
- Defined in:
- lib/contender/pool/rejection_policy.rb
#on_rejection(task, executor) ⇒ undefined
19 20 21 22 |
# File 'lib/contender/pool/rejection_policy.rb', line 19 def on_rejection(task, executor) return if executor.shutdown? task.call end |