Skip to content

WaldiezStepHandlers

@waldiez/react v0.6.1


WaldiezStepHandlers = object

Defined in: src/waldiez/components/stepByStep/types.ts:245

Step-by-step specific handlers for the UI layer. These are distinct from the chat handlers to keep concerns separated.

PropertiesΒΆ

close()?ΒΆ

optional close: () => void | Promise\<void>

Defined in: src/waldiez/components/stepByStep/types.ts:253

Close the step-by-step session.

ReturnsΒΆ

void | Promise\<void>


onStart()?ΒΆ

optional onStart: () => void | Promise\<void>

Defined in: src/waldiez/components/stepByStep/types.ts:247

optional action to perform when the run starts (like select breakpoints or checkpoint)

ReturnsΒΆ

void | Promise\<void>


respond()ΒΆ

respond: (response) => void | Promise\<void>

Defined in: src/waldiez/components/stepByStep/types.ts:251

Send a user input response (not a control command).

ParametersΒΆ
responseΒΆ

WaldiezChatUserInput

ReturnsΒΆ

void | Promise\<void>


sendControl()ΒΆ

sendControl: (input) => void | Promise\<void>

Defined in: src/waldiez/components/stepByStep/types.ts:249

Send a control command (e.g., Continue/Run/Step/Quit/Info/Help/Stats...).

ParametersΒΆ
inputΒΆ

Pick\<WaldiezDebugInputResponse, "request_id" | "data">

ReturnsΒΆ

void | Promise\<void>