https://github.com/cicec/asyncaro
⌛️ Manage the execution of async methods
https://github.com/cicec/asyncaro
Last synced: 10 months ago
JSON representation
⌛️ Manage the execution of async methods
- Host: GitHub
- URL: https://github.com/cicec/asyncaro
- Owner: cicec
- Created: 2021-05-27T06:58:46.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-09T11:57:20.000Z (about 5 years ago)
- Last Synced: 2025-06-09T08:45:57.634Z (about 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Asyncaro
Manage the execution of async methods
## e.g.
```js
import action from 'asyncaro'
const one = action()
const two = one.next()
one.add(() => fetch('/login'))
// Wait for one to be fully executed
two.add(() => fetch('/profile'))
```