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

    Interface UseFlowCoordinationReturn

    interface UseFlowCoordinationReturn {
        advance: (
            stepId: string,
            payload?: Record<string, unknown>,
        ) => Promise<void>;
        complete: (result?: Record<string, unknown>) => Promise<void>;
        coordination: RouteCoordinationMetadata | null;
        fail: (error: unknown) => Promise<void>;
        flowState: UserFlowState | null;
        isResuming: boolean;
        resumeError: string | null;
    }
    Index

    Properties

    advance: (stepId: string, payload?: Record<string, unknown>) => Promise<void>
    complete: (result?: Record<string, unknown>) => Promise<void>
    coordination: RouteCoordinationMetadata | null
    fail: (error: unknown) => Promise<void>
    flowState: UserFlowState | null
    isResuming: boolean
    resumeError: string | null