(signal: { aborted: boolean })
| 415 | } |
| 416 | |
| 417 | async function fallbackProvider(signal: { aborted: boolean }): Promise<PromptResult<string>> { |
| 418 | if (signal.aborted) { |
| 419 | return promptAborted() |
| 420 | } |
| 421 | return promptSuccess('Fallback result') |
| 422 | } |
| 423 | |
| 424 | async function callWithFallback(signal: { aborted: boolean }): Promise<PromptResult<string>> { |
| 425 | try { |
no test coverage detected