# execution-context

> A generic implementation of concurrent and sequential code execution

Latest version **1.0.0** (published 2016-12-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install execution-context
pnpm add execution-context
yarn add execution-context
bun add execution-context
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-12-23 |
| First published | 2016-12-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Alexey Raspopov |
| Maintainers | alexeyraspopov |

## Links

- npm: https://www.npmjs.com/package/execution-context
- Repository: https://github.com/alexeyraspopov/message-script
- Homepage: https://github.com/alexeyraspopov/message-script#readme
- Issues: https://github.com/alexeyraspopov/message-script/issues
- npm.io page: https://npm.io/package/execution-context

## Recent versions

- 1.0.0 (latest) — 2016-12-23

## README

# Message Script / Execution Context

A generic implementation of concurrent and sequential code execution.

## Install

```
npm install execution-context
```

## Usage

```javascript
import { ExecutionContext, ImmediateExecutor } from 'execution-context';

const executor = new ImmediateExecutor();
const context = new ExecutionContext(executor);

context.execute(() => /* some routine */);
```

## Executors

This package includes a set of executors which uses different APIs to schedule routines execution.

```javascript
import {
  AnimationFrameExecutor,
  DelayExecutor,
  IdleCallbackExecutor,
  ImmediateExecutor,
  NextTickExecutor
} from 'execution-context';
```

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