Gets an Rx.Scheduler
that schedules work on the window.MutationObserver
for immediate actions. If this is not available, this defaults to window.setImmediate
, window.postMessage
, window.MessageChannel
, script.onreadystatechanged
and finally setTimeout
in that order based upon what your browser supports.
var obs = Rx.Observable.return(
42,
Rx.Scheduler.mutationObserver);
obs.subscribe(function (x) {
// Scheduled using a MutationObserver
console.log(x);
});
// => 42
File:
Dist:
Prerequisites:
- If using
rx.js
rx.lite.js
|rx.lite.compat.js
NPM Packages:
NuGet Packages:
Unit Tests: