{"library":"scheduler-polyfill","type":"library","category":null,"description":"Polyfill for the Prioritized Task Scheduling API (window.scheduler), providing scheduler.postTask(), scheduler.yield(), TaskController, and TaskSignal. Version 1.3.0, actively maintained by Google Chrome Labs. Uses setTimeout, MessageChannel, and requestIdleCallback with fallbacks. Suitable for browsers that haven't implemented the native API (Chrome 94+, Firefox 101+, Safari 15.4+). Ships TypeScript types. Good for progressive enhancement in scheduling-intensive web apps.","language":"javascript","status":"active","version":"1.3.0","tags":["javascript","scheduler","scheduling","postTask","TaskController","TaskSignal","typescript"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install scheduler-polyfill","imports":["import 'scheduler-polyfill';","import 'scheduler-polyfill'; const controller = new TaskController('user-blocking');","import 'scheduler-polyfill'; const controller = new TaskController('background'); const signal = controller.signal;"]},{"cmd":"yarn add scheduler-polyfill","imports":[]},{"cmd":"pnpm add scheduler-polyfill","imports":[]}],"homepage":"https://github.com/GoogleChromeLabs/scheduler-polyfill","github":"https://github.com/GoogleChromeLabs/scheduler-polyfill","docs":null,"changelog":null,"pypi":null,"npm":"scheduler-polyfill","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}