https://github.com/hexlet-components/js-async
https://github.com/hexlet-components/js-async
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hexlet-components/js-async
- Owner: hexlet-components
- Created: 2016-08-14T13:25:28.000Z (almost 10 years ago)
- Default Branch: main
- Last Pushed: 2025-07-11T20:13:13.000Z (12 months ago)
- Last Synced: 2025-10-28T00:32:32.765Z (8 months ago)
- Language: JavaScript
- Size: 750 KB
- Stars: 1
- Watchers: 8
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# js-async
[](https://github.com/hexlet-components/js-async/actions)
## Install
```bash
npm install @hexlet/async
```
## Usage example
```javascript
import async from '@hexlet/async';
const coll = [[1, 1, 1], [2, 2, 2], [3, 3, 3]];
async.concat(coll, (item, callback) => {
callback(null, item);
}, (err, result) => {
console.log(result);
// => [1, 1, 1, 2, 2, 2, 3, 3, 3]
});
```
For more information, see the [Full Documentation](https://github.com/hexlet-components/js-async/tree/master/docs)
---
[](https://hexlet.io?utm_source=github&utm_medium=link&utm_campaign=js-async)
This repository is created and maintained by the team and the community of Hexlet, an educational project. [Read more about Hexlet](https://hexlet.io?utm_source=github&utm_medium=link&utm_campaign=js-async).
See most active contributors on [hexlet-friends](https://friends.hexlet.io/).