Defined in: sequence-manager.ts:169
readonly registrations: Store<Map<string, SequenceRegistrationView>>;Defined in: sequence-manager.ts:176
The TanStack Store containing sequence registration views for devtools. Subscribe to this to observe registration changes.
destroy(): void;Defined in: sequence-manager.ts:665
Destroys the manager and removes all listeners.
void
getRegistrationCount(): number;Defined in: sequence-manager.ts:658
Gets the number of registered sequences.
number
register(
sequence,
callback,
options): SequenceRegistrationHandle;Defined in: sequence-manager.ts:228
Registers a hotkey sequence handler.
Array of hotkey strings that form the sequence
Function to call when the sequence is completed
SequenceOptions = {}
Options for the sequence behavior
A handle to update or unregister the sequence
resetAll(): void;Defined in: sequence-manager.ts:598
Resets all sequence progress.
void
triggerSequence(id): boolean;Defined in: sequence-manager.ts:613
Triggers a sequence's callback programmatically from devtools. Creates a synthetic KeyboardEvent from the last key in the sequence.
string
The registration ID to trigger
boolean
True if the registration was found and triggered
static getInstance(): SequenceManager;Defined in: sequence-manager.ts:197
Gets the singleton instance of SequenceManager.
SequenceManager
static resetInstance(): void;Defined in: sequence-manager.ts:207
Resets the singleton instance. Useful for testing.
void