297 if (filterStackFrame(url, functionName, lineNumber, columnNumber)) {
298 // Use a clone because the Flight protocol isn't yet resilient to deduping
299▶ // objects in the debug info. TODO: Support deduping stacks.
300 const clone: ReactCallSite = callsite.slice(0) as any;
301 clone[1] = url;
· · ·
386 if (stack.length > firstFrame) {
387 // Check if the very first stack frame that awaited this Promise was in user space.
388▶ // TODO: This doesn't take into account wrapper functions such as our fake .then()
389 // in FlightClient which will always be considered third party awaits if you call
390 // .then directly.
· · ·
1386 finishHaltedTask(streamTask, request);
1387 } else {
1388▶ // TODO: Make this use abortTask() instead.
1389 erroredTask(request, streamTask, reason);
1390 enqueueFlush(request);
· · ·
1520 finishHaltedTask(streamTask, request);
1521 } else {
1522▶ // TODO: Make this use abortTask() instead.
1523 erroredTask(request, streamTask, signal.reason);
1524 enqueueFlush(request);
· · ·
1525 }
1526 if (typeof (iterator as any).throw === 'function') {
1527▶ // TODO: Premature exits should call return() on the iterator if it exists
1528 // to allow cleanup. See https://tc39.es/ecma262/multipage/control-abstraction-objects.html#table-async-iterator-optional
1529 // The iterator protocol doesn't necessarily include this but a generator do.
+ 29 more matches in this file