Validates and stores Flow definitions shared by Client and Worker. Construction checks names, Step/RPC signatures, persistence definitions, locks, and Attribute indexes atomically.
const orders = new OrdersFlow();const registry = new Registry([orders]); Copy
const orders = new OrdersFlow();const registry = new Registry([orders]);
Creates a Registry.
Flow instances with unique Flow types.
FlowDefinitionError when any public definition is invalid.
Readonly
Registered Flow instances in input order.
Validates and stores Flow definitions shared by Client and Worker. Construction checks names, Step/RPC signatures, persistence definitions, locks, and Attribute indexes atomically.
Example