Rx.Observable.start(func, [scheduler], [context])
Invokes the specified function asynchronously on the specified scheduler, surfacing the result through an observable sequence.
Arguments
func
(Function
): Function to run asynchronously.[scheduler=Rx.Scheduler.timeout]
(Scheduler
): Scheduler to run the function on. If not specified, defaults to Scheduler.timeout.[context]
(Any
): The context for the func parameter to be executed. If not specified, defaults to undefined.
Returns
(Observable
): An observable sequence exposing the function's result value, or an exception.