# @reactive-js/scheduler

> Abstract API for a cooperative multi-tasking scheduling in a javascript environment.

Latest version **0.0.37** (published 2020-04-21) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @reactive-js/scheduler
pnpm add @reactive-js/scheduler
yarn add @reactive-js/scheduler
bun add @reactive-js/scheduler
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.0.37 |
| Published | 2020-04-21 |
| First published | 2019-12-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 4 |
| Unpacked size | 72.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 11 |
| Author | David Bordoley |
| Maintainers | bordoley |
| Keywords | asynchronous, data flow, data-flow, frp, functional programming, functional-reactive-programming, ix, observable, observables, react, reactjs, reactive, reactive-extensions, reactive-js, reactive-x, rx, rxjs, scheduler, state management, state-management, stream, streams |

## Links

- npm: https://www.npmjs.com/package/@reactive-js/scheduler
- Repository: https://github.com/bordoley/reactive-js
- Homepage: https://github.com/bordoley/reactive-js#readme
- Issues: https://github.com/bordoley/reactive-js/issues
- npm.io page: https://npm.io/package/@reactive-js/scheduler

## Dependencies (4)

- [@reactive-js/pipe](https://npm.io/package/@reactive-js/pipe.md) ^0.0.37
- [@reactive-js/option](https://npm.io/package/@reactive-js/option.md) ^0.0.37
- [@reactive-js/disposable](https://npm.io/package/@reactive-js/disposable.md) ^0.0.37
- [@reactive-js/collections](https://npm.io/package/@reactive-js/collections.md) ^0.0.37

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.0.37 (latest) — 2020-04-21
- 0.0.36 — 2020-04-21
- 0.0.35 — 2020-04-20
- 0.0.34 — 2020-04-19
- 0.0.33 — 2020-04-10
- 0.0.32 — 2020-04-03
- 0.0.31 — 2020-03-23
- 0.0.30 — 2020-03-16
- 0.0.29 — 2020-03-11
- 0.0.28 — 2020-01-14
- 0.0.27 — 2020-01-13
- 0.0.26 — 2020-01-11
- 0.0.25 — 2020-01-05
- 0.0.24 — 2019-12-31
- 0.0.23 — 2019-12-30
- … 22 more at https://npm.io/package/@reactive-js/scheduler/versions

## README

# @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](https://github.com/facebook/react/tree/master/packages/scheduler). Such an implementation is available in the [@reactive-js/react-scheduler](https://www.npmjs.com/package/@reactive-js/react-scheduler) package.

## Installation

### via npm

```sh
npm install @reactive-js/scheduler
```

### via yarn

```sh
yarn add @reactive-js/scheduler
```

## Documentation

API documentation is available [here](./docs).

---
_Source: https://npm.io/package/@reactive-js/scheduler · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
