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
Appears not to be supported by any current browser, and all the code I've seen that needs immediate microtasks uses setTimeout with a 0 timeout argument.
(yes, this could have been a PR, but researching and confirming I'm not woefully confused here seems like it's going to be most of the effort and since I'm not 100% sure I'm right I can't really PR that part, sorry)
The text was updated successfully, but these errors were encountered:
That's a fair suggestion. Can you show me the use case for observable-to-async-generator in a browser environment? I guess, it's going to be related to an Angular app, right?
Originally, observable-to-async-generator is designed for use in NodeJS environment, where setImmediate is supported. But if removing a reference to setImmediate is the only thing that stands in the way of supporting browsers, I'm all for it.
https://developer.mozilla.org/en-US/docs/Web/API/Window/setImmediate
Appears not to be supported by any current browser, and all the code I've seen that needs immediate microtasks uses setTimeout with a 0 timeout argument.
(yes, this could have been a PR, but researching and confirming I'm not woefully confused here seems like it's going to be most of the effort and since I'm not 100% sure I'm right I can't really PR that part, sorry)
The text was updated successfully, but these errors were encountered: