Interface ExecuteContext<TInput, TResume, TSuspend>

interface ExecuteContext<TInput, TResume, TSuspend> {
    runId: string;
    workflowId: string;
    inputData: TInput;
    resumeData?: TResume;
    suspend: SuspendFunction<TSuspend>;
    getStepResult: (<T>(stepId: string) => T);
}

Type Parameters

  • TInput = unknown
  • TResume = unknown
  • TSuspend = unknown

Properties

runId: string
workflowId: string
inputData: TInput
resumeData?: TResume
getStepResult: (<T>(stepId: string) => T)