Type Alias: Unsubscribe()
Unsubscribe = () =>
void
Defined in: src/Mnemonic/types.ts:825
Function type for unsubscribing from event listeners.
Call this function to remove a subscription and stop receiving updates.
Returns
void
Example
const unsubscribe = store.subscribeRaw('user', () => console.log('Updated!'));
// Later...
unsubscribe(); // Stop listening