-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Description
bluebird v3.4.7 on linux nodejs 6.9.4
The following test code produces a RangeError:
'use strict';
const Promise = require('bluebird');
const f = function*(n)
{
for(let i = 0; i < n; i++) {
yield i;
}
};
Promise.each(f(2000),
(i) => {
if(i % 1700 === 0) {
return Promise.delay(1);
}
// Uncommenting the following line stops the error
//return Promise.delay(1);
});
robinjoseph08, Ginden, martinj, Mobe91, kulinsj and 1 more