Map of hotkey action id -> handler function. Used by useHotkeys. A handler may return a promise; errors are logged but not thrown.
useHotkeys
export type HotkeyHandlers = Record<string, () => void | Promise<void>>; Copy
export type HotkeyHandlers = Record<string, () => void | Promise<void>>;
Map of hotkey action id -> handler function. Used by
useHotkeys. A handler may return a promise; errors are logged but not thrown.