Constructors
Methods
add
- add(handler, options?): string
Parameters
- handler: Dispatch<V>
- options: {
once?: boolean;
} = {}
Returns string
clear
- clear(): void
Returns void
isEmpty
- isEmpty(): boolean
Returns boolean
notify
- notify(value): void
Returns void
remove
- remove(id): boolean
Returns boolean
Adds a handler