# async-blocking-queue

> AsyncBlockingQueue

Latest version **1.0.1** (published 2021-02-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install async-blocking-queue
pnpm add async-blocking-queue
yarn add async-blocking-queue
bun add async-blocking-queue
```

## 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.1 |
| Published | 2021-02-22 |
| First published | 2019-10-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Carl Hopf |
| Maintainers | carlhopf |
| Keywords | async, blocking, queue |

## Links

- npm: https://www.npmjs.com/package/async-blocking-queue
- Repository: https://github.com/carlhopf/async-blocking-queue
- Homepage: https://github.com/carlhopf/async-blocking-queue#readme
- Issues: https://github.com/carlhopf/async-blocking-queue/issues
- npm.io page: https://npm.io/package/async-blocking-queue

## Alternatives

- [cron](https://npm.io/package/cron.md) — 4.9M weekly downloads
- [@vercel/queue](https://npm.io/package/@vercel/queue.md) — 731.6K weekly downloads
- [create-sonicjs](https://npm.io/package/create-sonicjs.md) — 1.6K weekly downloads
- [@exellix/jobs-api](https://npm.io/package/@exellix/jobs-api.md) — 941 weekly downloads
- [@forwardimpact/libskill](https://npm.io/package/@forwardimpact/libskill.md) — 575 weekly downloads

## Recent versions

- 1.0.1 (latest) — 2021-02-22
- 1.0.0 — 2019-10-11

## README

# async-blocking-queue

```
npm install --save async-blocking-queue
```



AsyncBlockingQueue
------------------


```javascript
import AsyncBlockingQueue from 'async-blocking-queue';

var queue = new AsyncBlockingQueue();

// wait for next enqueue() result
queue.dequeue().then((result) => console.info(result));

setTimeout(() => {
  queue.enqueue('hello world')
}, 1000);

```

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