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
On the agenda for the next meeting, wait vs. poll vs. promise is listed.
Could we consider using callbacks directly? This approach seems like it would be possible to avoid the GC pressure associated with promises and not be concerned about blocking the main thread. It would also be easy to wrap into a promise if an application preferred the promise API instead.
The has been resolved to have WebGPU use Promises for the time being. @jdashg made a PR for adding callbacks version of Promise entrypoints as well so we can have further discussion on that PR if needed.
Activity
grovesNL commentedon Mar 29, 2018
I just noticed that @litherum mentioned callbacks recently too.
Kangz commentedon Sep 2, 2021
The has been resolved to have WebGPU use Promises for the time being. @jdashg made a PR for adding callbacks version of Promise entrypoints as well so we can have further discussion on that PR if needed.