metasync icon indicating copy to clipboard operation
metasync copied to clipboard

Asynchronous Programming Library for JavaScript & Node.js

Results 45 metasync issues
Sort by recently updated
recently updated
newest added

```js metatests.test('unpredictable search result', test => { const data = [{ name: 'Bob', age: 34 }, { name: 'Bob', age: 45 }]; const expected = 34; // actual search result...

Refs: https://github.com/metarhia/metasync/issues/416

functionality
research

I added support for iterable objects using [Symbol.iterator], also tests are written

``` ee.on('e1', async () => true); await ee.emit('a1'); ``` I suppose we need to hide counters when waiting for multiple event handlers to this abstraction.

functionality

* Don't create object every time in Promise resolve * Collect results in an array in Compose bench as it is dome in Promise.all

Closes: https://github.com/metarhia/metasync/issues/431

functionality

- [x] Basic implementation - [x] `Future.prototype.promise()` - [x] futurify - [x] Tests

compatibility

Any usage of `ArrayChain` may be replaced by `metasync.AsyncIterator`. WDYT @belochub @lundibundi @tshemsedinov

compatibility

Refactor Do to class syntax and compare performance

compatibility