T
EventBusIdentifier
testeddemoAnything usable to identify a shared bus. Buses with an equal identifier share their listener set, regardless of how many times `useEventBus` runs.
Demo
Loading demo…
Signature
ts
export type EventBusIdentifier<T = unknown>
= EventBusKey<T> | string | number;Type Parameters
T= unknown