You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for the watch operator to be called from Web Workers.
Use case, using the library observable-webworker the message reception is being done throw an Observable input$, in this sense inside the Worker we can have the watch operator to see the marvels from the Worker tasks, and debug them easily.
But when I try to use it, the library is using HTMLElements, HTML Events, etc, for which the Worker as no access to it, and then it fails. Maybe we can have a watchWorker alternative to run in a separate worker and communicate with the plugging using messages?
The text was updated successfully, but these errors were encountered:
Watch operator uses window.postMessage function which worker has no access to. I think that this is not possible without changes on observable-webworker.
Type:
Feature Request [X]
Add support for the watch operator to be called from Web Workers.
Use case, using the library
observable-webworker
the message reception is being done throw an Observable input$, in this sense inside the Worker we can have the watch operator to see the marvels from the Worker tasks, and debug them easily.But when I try to use it, the library is using HTMLElements, HTML Events, etc, for which the Worker as no access to it, and then it fails. Maybe we can have a watchWorker alternative to run in a separate worker and communicate with the plugging using messages?
The text was updated successfully, but these errors were encountered: