Rx.Observable.startAsync(functionAsync)

Invokes the asynchronous function, surfacing the result through an observable sequence.

Arguments

  1. functionAsync (Function): Asynchronous function which returns a Promise to run.

Returns

(Observable): An observable sequence exposing the function's Promises's value or error.

Example