( executionId: string, afterEventId: number )
| 653 | } |
| 654 | |
| 655 | export async function readExecutionEvents( |
| 656 | executionId: string, |
| 657 | afterEventId: number |
| 658 | ): Promise<ExecutionEventEntry[]> { |
| 659 | const result = await readExecutionEventsState(executionId, afterEventId) |
| 660 | return result.status === 'ok' ? result.events : [] |
| 661 | } |
| 662 | |
| 663 | export async function readExecutionEventsState( |
| 664 | executionId: string, |
nothing calls this directly
no test coverage detected