Dex TypeScript SDK 1.32.0
    Preparing search index...

    Class Registry

    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]);
    Index

    Constructors

    Properties

    Constructors

    • Creates a Registry.

      Parameters

      • flows: readonly Flow<any>[]

        Flow instances with unique Flow types.

      Returns Registry

      FlowDefinitionError when any public definition is invalid.

    Properties

    flows: readonly Flow<any>[]

    Registered Flow instances in input order.