@reactive-js/scheduler
Abstract API for a cooperative multi-tasking scheduling in a javascript environment.
The Scheduler API is designed to support both immediate and delayed scheduling of work. Recursively scheduled work is also supported. Cooperative multi-tasking is achieved via periodic polling of the shouldYield
function within a SchedulerContinuation.
This abstract API is implemented by platform specific implementations that schedule work using the platform specific scheduler such as the one provided by React. Such an implementation is available in the @reactive-js/react-scheduler package.
Installation
via npm
npm install @reactive-js/scheduler
via yarn
yarn add @reactive-js/scheduler
Documentation
API documentation is available here.