( task: unknown, )
| 76 | } |
| 77 | |
| 78 | export function isInProcessTeammateTask( |
| 79 | task: unknown, |
| 80 | ): task is InProcessTeammateTaskState { |
| 81 | return ( |
| 82 | typeof task === 'object' && |
| 83 | task !== null && |
| 84 | 'type' in task && |
| 85 | task.type === 'in_process_teammate' |
| 86 | ) |
| 87 | } |
| 88 | |
| 89 | /** |
| 90 | * Cap on the number of messages kept in task.messages (the AppState UI mirror). |
no outgoing calls
no test coverage detected