Defined in: sequence-manager.ts:172
readonly registrations: Store<Map<string, SequenceRegistrationView>>;
Defined in: sequence-manager.ts:179
The TanStack Store containing sequence registration views for devtools. Subscribe to this to observe registration changes.
destroy(): void;
Defined in: sequence-manager.ts:638
Destroys the manager and removes all listeners.
void
getRegistrationCount(): number;
Defined in: sequence-manager.ts:631
Gets the number of registered sequences.
number
register(
sequence,
callback,
options): SequenceRegistrationHandle;
Defined in: sequence-manager.ts:231
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:573
Resets all sequence progress.
void
triggerSequence(id): boolean;
Defined in: sequence-manager.ts:588
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:200
Gets the singleton instance of SequenceManager.
SequenceManager
static resetInstance(): void;
Defined in: sequence-manager.ts:210
Resets the singleton instance. Useful for testing.
void