onDispatcher
Home > @gooddata/sdk-ui-gen-ai > GenAIAssistantProps > onDispatcher
GenAIAssistantProps.onDispatcher property
When provided, the function will be called with the store dispatch function after the store has been initialized.
Signature:
onDispatcher?: (dispatch: (action: unknown) => void) => void;