Skip to content

WaldiezStepHandlers

@waldiez/react v0.6.0


WaldiezStepHandlers = object

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

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>


respond()ΒΆ

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

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

Send a user input response (e.g., for debug_input_request).

ParametersΒΆ
responseΒΆ

WaldiezChatUserInput

ReturnsΒΆ

void | Promise\<void>


sendControl()ΒΆ

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

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

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

ParametersΒΆ
inputΒΆ

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

ReturnsΒΆ

void | Promise\<void>