Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/commenthol/asyncc-promise
Just asynchronous patterns for promises
https://github.com/commenthol/asyncc-promise
asynchronous asynchronous-patterns parallel pattern promise serial
Last synced: 4 days ago
JSON representation
Just asynchronous patterns for promises
- Host: GitHub
- URL: https://github.com/commenthol/asyncc-promise
- Owner: commenthol
- License: mit
- Created: 2017-06-27T19:55:20.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-12-05T16:22:25.000Z (almost 3 years ago)
- Last Synced: 2024-04-25T02:41:42.343Z (7 months ago)
- Topics: asynchronous, asynchronous-patterns, parallel, pattern, promise, serial
- Language: JavaScript
- Homepage: https://commenthol.github.io/asyncc-promise/index.html
- Size: 615 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# asyncc-promise
> Just asynchronous patterns for promises
[![NPM version](https://badge.fury.io/js/asyncc-promise.svg)](https://www.npmjs.com/package/asyncc-promise/)
[![Build Status](https://travis-ci.org/commenthol/asyncc-promise.svg?branch=master)](http://travis-ci.org/commenthol/asyncc-promise)Runs in the browser and on node.
The module provided follows the [asyncc][] syntax.
# Serial execution patterns
- [compose](https://commenthol.github.io/asyncc-promise/module-serial.html#.compose)
- [doUntil](https://commenthol.github.io/asyncc-promise/module-serial.html#.doUntil)
- [doWhilst](https://commenthol.github.io/asyncc-promise/module-serial.html#.doWhilst)
- [eachSeries](https://commenthol.github.io/asyncc-promise/module-serial.html#.eachSeries)
- [retry](https://commenthol.github.io/asyncc-promise/module-serial.html#.retry)
- [series](https://commenthol.github.io/asyncc-promise/module-serial.html#.series)
- [times](https://commenthol.github.io/asyncc-promise/module-serial.html#.times)
- [until](https://commenthol.github.io/asyncc-promise/module-serial.html#.until)
- [whilst](https://commenthol.github.io/asyncc-promise/module-serial.html#.whilst)# Parallel execution patterns
- [each](https://commenthol.github.io/asyncc-promise/module-parallel.html#.each)
- [eachLimit](https://commenthol.github.io/asyncc-promise/module-parallel.html#.eachLimit)
- [parallel](https://commenthol.github.io/asyncc-promise/module-parallel.html#.parallel)
- [parallelLimit](https://commenthol.github.io/asyncc-promise/module-parallel.html#.parallelLimit)
- [allSettled](https://commenthol.github.io/asyncc-promise/module-parallel.html#.allSettled)
- [allSettledLimit](https://commenthol.github.io/asyncc-promise/module-parallel.html#.allSettledLimit)## Installation
```sh
$ npm install asyncc-promise
```## Tests
```sh
$ npm test
```# Usage
As ES6 Modules
```js
import {each, eachSeries} from 'asyncc-promise'
```As CommonJS Modules
```js
const {each, eachSeries} = require('asyncc-promise')
```# References
* [asyncc][asyncc]
* [LICENSE][LICENSE][asyncc]: https://github.com/commenthol/asyncc
[LICENSE]: ./LICENSE.txt