ChemPal Documentation - v1.7.0
    Preparing search index...

    Type Alias HotkeyHandlers

    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.

    export type HotkeyHandlers = Record<string, () => void | Promise<void>>;