( status: CopilotAsyncToolStatus | AsyncLifecycleStatus | string | null | undefined )
| 82 | } |
| 83 | |
| 84 | export function isTerminalAsyncStatus( |
| 85 | status: CopilotAsyncToolStatus | AsyncLifecycleStatus | string | null | undefined |
| 86 | ): status is AsyncTerminalStatus { |
| 87 | return ( |
| 88 | status === ASYNC_TOOL_STATUS.completed || |
| 89 | status === ASYNC_TOOL_STATUS.failed || |
| 90 | status === ASYNC_TOOL_STATUS.cancelled |
| 91 | ) |
| 92 | } |
| 93 | |
| 94 | export function isDeliveredAsyncStatus( |
| 95 | status: CopilotAsyncToolStatus | string | null | undefined |
no outgoing calls
no test coverage detected