Defined in: sequence-manager.ts:148
readonly registrations: Store<Map<string, SequenceRegistrationView>>;
Defined in: sequence-manager.ts:155
The TanStack Store containing sequence registration views for devtools. Subscribe to this to observe registration changes.
destroy(): void;
Defined in: sequence-manager.ts:597
Destroys the manager and removes all listeners.
void
getRegistrationCount(): number;
Defined in: sequence-manager.ts:590
Gets the number of registered sequences.
number
register(
sequence,
callback,
options): SequenceRegistrationHandle;
Defined in: sequence-manager.ts:201
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:532
Resets all sequence progress.
void
triggerSequence(id): boolean;
Defined in: sequence-manager.ts:546
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:176
Gets the singleton instance of SequenceManager.
SequenceManager
static resetInstance(): void;
Defined in: sequence-manager.ts:186
Resets the singleton instance. Useful for testing.
void