https://github.com/plotdb/chainify
https://github.com/plotdb/chainify
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/plotdb/chainify
- Owner: plotdb
- Created: 2020-01-13T00:35:43.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-14T05:34:27.000Z (over 3 years ago)
- Last Synced: 2025-07-03T00:05:19.492Z (9 months ago)
- Language: LiveScript
- Size: 136 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# chainify
chaining a seris of tasks.
## Usage
chainify(list, handler = function({item,percent}) { ... return Promise.resolve(datum); })
.then(function({data, fail}) { ... });
chainify({list, delay}, handler)
.then(function({data, fail}) { ... });
handler should return Promise.
## License
MIT