Rx.Observer.create([onNext], [onError], [onCompleted])
Creates an observer from the specified onNext
, onError
, and onCompleted
actions.
Arguments
[onNext]
(Function): Observer's onNext action implementation.[onError]
(Function): Observer's onError action implementation.[onCompleted]
(Function): Observer's onCompleted action implementation.
Returns
(Observer): The observer object implemented using the given actions.
Example
Location
- rx.js