(this: Request, task: Task)
| 4526 | } |
| 4527 | |
| 4528 | function abortTaskSoft(this: Request, task: Task): void { |
| 4529 | // This aborts task without aborting the parent boundary that it blocks. |
| 4530 | // It's used for when we didn't need this task to complete the tree. |
| 4531 | // If task was needed, then it should use abortTask instead. |
| 4532 | const request: Request = this; |
| 4533 | const boundary = task.blockedBoundary; |
| 4534 | const segment = task.blockedSegment; |
| 4535 | if (segment !== null) { |
| 4536 | segment.status = ABORTED; |
| 4537 | finishedTask(request, boundary, task.row, segment); |
| 4538 | } |
| 4539 | } |
| 4540 | |
| 4541 | function abortRemainingSuspenseBoundary( |
| 4542 | request: Request, |
nothing calls this directly
no test coverage detected