Workflow-scope filter shared by all event kinds. Empty selection watches every workflow.
(config: SimSubscriptionConfig, sourceWorkflowId: string)
| 73 | |
| 74 | /** Workflow-scope filter shared by all event kinds. Empty selection watches every workflow. */ |
| 75 | function matchesWorkflowScope(config: SimSubscriptionConfig, sourceWorkflowId: string): boolean { |
| 76 | if (config.workflowIds.length === 0) return true |
| 77 | return config.workflowIds.includes(sourceWorkflowId) |
| 78 | } |
| 79 | |
| 80 | /** |
| 81 | * Emits workspace events for a completed workflow execution. |
no outgoing calls
no test coverage detected