Function: registryOf()
registryOf(
workflows,interceptors?):WorkflowRegistry
A registry from export names to workflow functions, with the workflow
interceptors a bundle would export as interceptors.
Parameters
workflows
Readonly<Record<string, DurableWorkflow<never, unknown>>>
interceptors?
WorkflowInterceptorsFactory | MarkedInterceptorsFactory
Returns
WorkflowRegistry