module Promise::Observer

The `Promise::Observer` module allows an object to be notified of `Promise` state changes.

See `Promise#subscribe`.

Public Instance Methods

promise_fulfilled(_value, _on_fulfill_arg) click to toggle source
# File lib/promise/observer.rb, line 7
def promise_fulfilled(_value, _on_fulfill_arg); end
promise_rejected(_reason, _on_reject_arg) click to toggle source
# File lib/promise/observer.rb, line 9
def promise_rejected(_reason, _on_reject_arg); end