Ⓢ Creates a Web Worker with a given URL as a Subject.
url
(String
): The URL of the Web Worker.
(Subject
): A Subject which wraps a Web Worker.
var worker = Rx.DOM.fromWebWorker('worker.js');
worker.subscribe(function (e) {
console.log(e.data);
});
worker.onNext('some data');
File:
Dist:
Prerequisites:
NPM Packages:
NuGet Packages:
Unit Tests: