Dex TypeScript SDK 1.32.0
    Preparing search index...

    Interface Condition

    Describes one durable Timer, Channel, or SubFlow readiness condition.

    interface Condition {
        atLeast?: number;
        atMost?: number;
        channelName?: string;
        conditionId?: string;
        durationMs?: number;
        instance?: string;
        kind: "subFlow" | "timer" | "channel";
        subFlow?: Flow<any>;
        subFlowInput?: unknown;
        subFlowOptions?: SubFlowOptions;
    }
    Index

    Properties

    atLeast?: number

    Inclusive lower queued-value bound.

    atMost?: number

    Inclusive upper queued-value bound.

    channelName?: string

    Physical Channel name for a Channel condition.

    conditionId?: string

    Optional stable ID unique within the Wait tree.

    durationMs?: number

    Timer delay in non-negative milliseconds.

    instance?: string

    The ChannelMap instance for a map condition. Slash is prohibited because it is a reserved character.

    kind: "subFlow" | "timer" | "channel"

    Condition family interpreted by Dex.

    subFlow?: Flow<any>

    Exact registered Flow instance targeted by a SubFlow condition.

    subFlowInput?: unknown

    Starting Step input for a SubFlow condition.

    subFlowOptions?: SubFlowOptions

    Start, reuse, and condition options for a SubFlow condition.