# async-queue

> simple FIFO queue to execute async functions linear.

Latest version **0.1.0** (published 2012-04-19) · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2012-04-19 |
| First published | 2012-04-19 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.4 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Martin Jonsson |
| Maintainers | martinj |
| Keywords | queue, async, flow |

## Links

- npm: https://www.npmjs.com/package/async-queue
- Repository: https://github.com/martinj/node-async-queue
- npm.io page: https://npm.io/package/async-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

- 0.1.0 (latest) — 2012-04-19

## README

# AsyncQueue

[![Build Status](https://secure.travis-ci.org/martinj/node-async-queue.png)](http://travis-ci.org/martinj/node-async-queue)

## Installation
	
	npm install async-queue
	
## Example

	var AsyncQueue = require('async-queue');

	new AsyncQueue(function (err, job) {
		if (err) job.fail(err);
		setTimeout(function () {
			console.log('First job executed')
			job.success();
		}, 500);
	}, function (err, job) {
		console.log('Second job executed');
		job.success();
	}).run();

Output

	First job executed
	Second job executed

## Run Tests

	npm install
	npm test

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