An interface that extends the ChainInputs interface and adds additional properties for the routerChain, destinationChains, defaultChain, and silentErrors. It represents the input expected by the MultiRouteChain class.

interface MultiRouteChainInput {
    defaultChain: BaseChain<ChainValues, ChainValues>;
    destinationChains: {
        [name: string]: BaseChain;
    };
    routerChain: RouterChain;
    callbackManager?: CallbackManager;
    memory?: BaseMemory;
    silentErrors?: boolean;
}

Hierarchy (view full)

Properties

defaultChain: BaseChain<ChainValues, ChainValues>
destinationChains: {
    [name: string]: BaseChain;
}

Type declaration

routerChain: RouterChain
callbackManager?: CallbackManager

⚠️ Deprecated ⚠️

Use callbacks instead

This feature is deprecated and will be removed in the future.

It is not recommended for use.

memory?: BaseMemory
silentErrors?: boolean

Generated using TypeDoc