npm.io
0.0.37 • Published 6 years ago

@reactive-js/scheduler

Licence
MIT
Version
0.0.37
Deps
4
Size
73 kB
Vulns
0
Weekly
0
Stars
11
DeprecatedThis package is deprecated

@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.

Keywords