( workflowId: string )
| 44 | } |
| 45 | |
| 46 | export async function getActiveWorkflowRecord( |
| 47 | workflowId: string |
| 48 | ): Promise<ActiveWorkflowRecord | null> { |
| 49 | const context = await getActiveWorkflowContext(workflowId) |
| 50 | return context?.workflow ?? null |
| 51 | } |
| 52 | |
| 53 | export async function assertActiveWorkflowContext( |
| 54 | workflowId: string |
no test coverage detected