w3c / window-management

Window Management API
https://www.w3.org/TR/window-management/
Other
96 stars 25 forks source link

Define a task source for completing asynchronous events #79

Closed reillyeon closed 2 years ago

reillyeon commented 2 years ago

In algorithms for methods like getScreenDetails() the parallel tasks need to queue a task back to the main thread in order to perform actions like resolving a Promise or firing an event. See "serial port task source" and the places where it is used for example language for queuing tasks to execute back on the main thread after running in parallel.

michaelwasserman commented 2 years ago

I attempted to fix this in #87.