TaskInteractionContext
Parameters and properties
Section titled “Parameters and properties”stateRequiredWorkflowJson | undefinedLatest immutable task continuation state restored from the checkpoint, or undefined before the first save.answerRequiredWorkflowAnswerRecord | undefinedAccepted human reply available to the resumed task attempt.saveRequired(state: WorkflowJson) => Promise<void>Validate, copy and persist JSON state during the current active attempt. Does not suspend execution.suspendRequired(question: WorkflowInputQuestion, state: WorkflowJson) => neverStore a new question and continuation state, then end this attempt through a suspension signal. Do not catch that signal; the scheduler persists waiting-input before returning.