Teleforge API Reference - v0.1.0
    Preparing search index...

    Interface FlowStateContextValue

    interface FlowStateContextValue {
        clear: () => void;
        error: ResumeFlowError | null;
        flowId: string | null;
        flowState: UserFlowState | null;
        freshStart: () => void;
        indicatorVisible: boolean;
        isResuming: boolean;
        redirectTo: string | null;
        resume: (flowId?: string) => Promise<ResumeFlowResult | null>;
        setFlowState: (
            state: UserFlowState | null,
            options?: FlowStateCommitOptions,
        ) => void;
        status: FlowStateStatus;
    }
    Index

    Properties

    clear: () => void
    error: ResumeFlowError | null
    flowId: string | null
    flowState: UserFlowState | null
    freshStart: () => void
    indicatorVisible: boolean
    isResuming: boolean
    redirectTo: string | null
    resume: (flowId?: string) => Promise<ResumeFlowResult | null>
    setFlowState: (
        state: UserFlowState | null,
        options?: FlowStateCommitOptions,
    ) => void