Skip to content

pantoken / formats/interactions/src / CommandHandler

כינוי טיפוס: CommandHandler

CommandHandler = (command, source) => void

ה-callback מופעל כאשר אירוע command (או לחיצה חלופית) מוביל ליעד.

פרמטרים

command

string

source

Element | null

מחזיר

void