Rx.Observer.fromNotifier(handler)

Creates an observer from a notification callback.

Arguments

  1. handler (Function): Function that handles a notification.

Returns

(Observer): The observer object that invokes the specified handler using a notification corresponding to each message it receives.

Example

Location

  • rx.js