class Concurrent::Promises::Future

def on_rejection!(*args, &callback)

Other tags:
    Yield: - to the callback.

Returns:
  • (self) -
def on_rejection!(*args, &callback)
  add_callback :callback_on_rejection, args, callback
end