Home > rc-js-util > IDebugWeakBroadcastEvent
Like IBroadcastEvent but without holding strong references. Available in debug contexts only.
Signature:
export interface IDebugWeakBroadcastEvent<K extends string, TArgs extends unknown[]>
Method | Description |
---|---|
addListener(listener) | |
addTemporaryListener(listener) | |
emit(args) | |
removeListener(listener) |