https://github.com/parro-it/ai-await
await the end of an async iterable.
https://github.com/parro-it/ai-await
Last synced: 11 months ago
JSON representation
await the end of an async iterable.
- Host: GitHub
- URL: https://github.com/parro-it/ai-await
- Owner: parro-it
- License: mit
- Created: 2017-12-04T19:36:09.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-04T19:40:42.000Z (over 8 years ago)
- Last Synced: 2024-09-06T07:57:52.615Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 149 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license
Awesome Lists containing this project
README
# ai-await
[](http://travis-ci.org/parro-it/ai-await)
[](https://npmjs.org/package/ai-await)
> await the end of an async iterable.
> **_This module is part of
> [Async iterable fun](https://github.com/parro-it/ai-fun), a complete toolset
> of modules to work with async iterables._**
## Usage
description of the example
```js
import aiAwait from 'ai-await';
for (const item of aiAwait()) {
yield item;
};
```
This will output
```
```
## API
## Install
With [npm](https://npmjs.org/) installed, run
```bash
npm install --save ai-await
```
## See Also
- [`parro-it/ai-fun`](https://github.com/parro-it/ai-fun) - A collection of modules to easy deal with async iterables.
- [`noffle/common-readme`](https://github.com/noffle/common-readme) - « a common readme for node ».
## License
MIT Licensed
© 2017 Andrea Parodi