Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
return tslib_1.__asyncGenerator(this, arguments, function* dummyGenerator_1() {
let i = 0;
while (i < count) {
yield tslib_1.__await(new Promise(resolve => setTimeout(resolve, sleep)));
yield yield tslib_1.__await(i++);
}
});
}
return tslib_1.__asyncGenerator(this, arguments, function* dummyGenerator_1() {
let i = 0;
while (i < count) {
yield tslib_1.__await(new Promise(resolve => setTimeout(resolve, sleep)));
yield yield tslib_1.__await(i++);
}
});
}