WICG / scheduling-apis

APIs for scheduling and controlling prioritized tasks.
https://wicg.github.io/scheduling-apis/
Other
909 stars 45 forks source link

Publish postTask Polyfill #37

Closed shaseley closed 2 years ago

shaseley commented 3 years ago

Filing an issue so folks can track progress on this.

The current status is that we have a polyfill that was tested during the origin trial, but since the API is still experimental we're waiting until the spec settles to publish it (hopefully soon!). In the meantime, the API is available behind a flag in Chromium if folks want to do local testing.

shaseley commented 2 years ago

Update: The polyfill has been published! Thanks to @calinoracation for helping put this through its paces and @developit for the help along the way.

npm package: https://www.npmjs.com/package/scheduler-polyfill Repo: https://github.com/GoogleChromeLabs/scheduler-polyfill Issue tracker: https://github.com/GoogleChromeLabs/scheduler-polyfill/issues

scheduler and related classes have been enabled by default as M94 in Chromium.