Function: servedDefinitions()
servedDefinitions(
registry):ServedDefinition[] |undefined
Defined in: packages/workflow-engine/src/kernel/helpers/definition-pinning.ts:151
The (workflowId, version) pairs this process is built to serve, or
undefined when the registry cannot enumerate its workflows — in which
case claiming stays unfiltered, i.e. the pre-1.0 behaviour.
Wire createWorkflowRegistry (or any registry with listWorkflows) to
turn version-filtered claiming on.
Parameters
registry
Returns
ServedDefinition[] | undefined