File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -110,8 +110,8 @@ export class BlockedSource extends BaseSource {
110110 }
111111
112112 // Actually await all pending requests that are needed for this `fetch`.
113- await Promise . allSettled ( blockRequests . values ( ) ) ;
114- await Promise . allSettled ( missingRequests . values ( ) ) ;
113+ await Promise . allSettled ( blockRequests ) ;
114+ await Promise . allSettled ( missingRequests ) ;
115115
116116 // Perform retries if a block was interrupted by a previous signal
117117 const abortedBlockRequests = [ ] ;
@@ -128,7 +128,7 @@ export class BlockedSource extends BaseSource {
128128 }
129129 abortedBlockRequests . push ( block ) ;
130130 }
131- await Promise . allSettled ( Array . from ( abortedBlockRequests . values ( ) ) ) ;
131+ await Promise . allSettled ( abortedBlockRequests ) ;
132132 }
133133
134134 // throw an abort error
@@ -186,7 +186,7 @@ export class BlockedSource extends BaseSource {
186186 // store the signal here, we need it to determine later if an
187187 // error was caused by this signal
188188 err . signal = signal ;
189- this . blockCache . del ( blockId ) ;
189+ this . blockCache . delete ( blockId ) ;
190190 this . abortedBlockIds . add ( blockId ) ;
191191 } else {
192192 throw err ;
You can’t perform that action at this time.
0 commit comments