(signal: AbortSignal)
| 608 | const callLog: string[] = [] |
| 609 | |
| 610 | async function step1(signal: AbortSignal): Promise<PromptResult<string>> { |
| 611 | callLog.push('step1') |
| 612 | if (signal.aborted) return promptAborted('step1 aborted') |
| 613 | return promptSuccess('step1 result') |
| 614 | } |
| 615 | |
| 616 | async function step2(signal: AbortSignal): Promise<PromptResult<string>> { |
| 617 | callLog.push('step2') |
no test coverage detected