fromNodeCallback
Last updated
Was this helpful?
Last updated
Was this helpful?
Rx.Node.fromNodeCallback(func, [scheduler], [context])
Deprecated in favor of Rx.Observable.fromNodeCallback
in rx.async.js.
Converts a Node.js callback style function to an observable sequence. This must be in function (err, ...) format.
func
(Function): Callback function which must be in function (err, ...) format.
[scheduler = Rx.Scheduler.timeout]
(Scheduler): Scheduler used to execute the callback.
[context]
(Any): The context to execute the callback.
(Function): An function which when applied, returns an observable sequence with the callback arguments as an array.