File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/core/src/utils-hoist/instrument Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ function instrumentFetch(onFetchResolved?: (response: Response) => void, skipNat
118
118
} ) ;
119
119
}
120
120
121
- async function resloveReader ( reader : WebReadableStreamDefaultReader , onFinishedResolving : ( ) => void ) : Promise < void > {
121
+ async function resolveReader ( reader : WebReadableStreamDefaultReader , onFinishedResolving : ( ) => void ) : Promise < void > {
122
122
let running = true ;
123
123
while ( running ) {
124
124
try {
@@ -141,7 +141,7 @@ async function resloveReader(reader: WebReadableStreamDefaultReader, onFinishedR
141
141
*
142
142
* This function attaches a custom `cancel` behavior to both the parent `Response` body and its `getReader()` method.
143
143
* When the parent stream or its reader is canceled, it triggers the cancellation of the child stream as well.
144
- * The function also monitors the resolution of the child's body stream using `resloveReader ` and performs cleanup.
144
+ * The function also monitors the resolution of the child's body stream using `resolveReader ` and performs cleanup.
145
145
*
146
146
* @param {Response } res - The `Response` object whose body stream will be resolved.
147
147
* @param {Response } parentRes - The parent `Response` object whose body stream is linked to the cancellation of `res`.
@@ -204,7 +204,7 @@ export function resolveResponse(
204
204
return reader ;
205
205
} ) as any ;
206
206
207
- resloveReader ( responseReader , onFinishedResolving ) . finally ( ( ) => {
207
+ resolveReader ( responseReader , onFinishedResolving ) . finally ( ( ) => {
208
208
try {
209
209
responseReader . releaseLock ( ) ;
210
210
body . cancel ( ) . catch ( ( ) => {
You can’t perform that action at this time.
0 commit comments