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
As I understand it, Microtask Queuing was introduced for use cases related to promises and async functions, for code to run after the currently-executing task has run to completion and the JavaScript execution context stack is empty, but without yielding control back to the browser’s event loop. In effect, for scenarios in which control can’t be passed back to the browser’s main event loop, before the scheduled task is actioned.
Re-frame doesn’t need that guarantee. The existing method for scheduling processing of the event queue works well enough. I can’t see a driver for making a change away from the existing method, particularly when nothing is currently wrong and any change might actually introduce subtle new problems.
Microtask Queuing looks like it may be useful for us in the re-frame router loop. However, it is still a long way from implementation.
See also whatwg/html#2789.
The text was updated successfully, but these errors were encountered: