Skip to content

@graphty/graphty-element / ai / InputCallback

Type Alias: InputCallback ​

InputCallback = (input, isFinal) => void

Defined in: graphty-element/src/ai/input/types.ts:23

Callback function for input events.

Parameters ​

input ​

string

The input text

isFinal ​

boolean

Whether this is the final result or an interim result

Returns ​

void