Skip to content

pantoken / formats/interactions/src / CommandHandler

Alias typu: CommandHandler

CommandHandler = (command, source) => void

Funkcja zwrotna wywoływana, gdy zdarzenie command (lub zapasowe kliknięcie) zostaje dopasowane do celu.

Parametry

command

string

source

Element | null

Zwraca

void