(signal: { aborted: boolean })
| 371 | } |
| 372 | |
| 373 | async function middleCall(signal: { aborted: boolean }): Promise<PromptResult<string>> { |
| 374 | const result = await deepestCall(signal) |
| 375 | if (result.aborted) { |
| 376 | return result // Propagate abort |
| 377 | } |
| 378 | return promptSuccess(`Value: ${result.value}`) |
| 379 | } |
| 380 | |
| 381 | async function topCall(signal: { aborted: boolean }): Promise<PromptResult<string[]>> { |
| 382 | const result = await middleCall(signal) |
no test coverage detected