Method: Contender::Pool::DiscardPolicy#on_rejection

Defined in:
lib/contender/pool/rejection_policy.rb

#on_rejection(task, executor) ⇒ undefined

Parameters:

Returns:

  • (undefined)


42
43
44
# File 'lib/contender/pool/rejection_policy.rb', line 42

def on_rejection(task, executor)
  # Just ignore the task
end