Files
dolt/js
Benjamin Kalman 73aacfd7de Support parallel iteration with AsyncIterator.
There is a bug at the moment when you try to resolve more than 1 Promise
returned from next() at the same time, e.g.,

const list = new NomsList([1, 2, 3]);
const iter = list.iterator();
const n1 = iter.next();
const n2 = iter.next();
console.log(Promise.all(n1, n2));

It will not print "[1, 2]" as you'd expect, but instead "[1, 1]". This
was caused by an artificial race condition in the async/await pattern
used in the AsyncIterator next() implementations.
2016-02-19 17:15:30 -08:00
..
2016-01-20 12:48:25 -08:00
2016-02-02 11:18:31 -08:00