File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -308,7 +308,7 @@ class TakeIterator extends AsyncIterator {
308
308
async next ( ) {
309
309
this . iterated ++ ;
310
310
if ( this . iterated <= this . amount ) {
311
- return await this . base . next ( ) ;
311
+ return this . base . next ( ) ;
312
312
}
313
313
return { done : true , value : undefined } ;
314
314
}
@@ -411,7 +411,7 @@ class ThrottleIterator extends AsyncIterator {
411
411
async next ( ) {
412
412
if ( this . iterMax > this . count ) {
413
413
this . count ++ ;
414
- return await this . base . next ( ) ;
414
+ return this . base . next ( ) ;
415
415
}
416
416
417
417
this . sum += Date . now ( ) - this . begin ;
@@ -427,7 +427,7 @@ class ThrottleIterator extends AsyncIterator {
427
427
428
428
this . count ++ ;
429
429
this . begin = Date . now ( ) ;
430
- return await this . base . next ( ) ;
430
+ return this . base . next ( ) ;
431
431
}
432
432
}
433
433
You can’t perform that action at this time.
0 commit comments