js-util

Home > rc-js-util > IDebugWeakBroadcastEvent

IDebugWeakBroadcastEvent interface

Like IBroadcastEvent but without holding strong references. Available in debug contexts only.

Signature:

export interface IDebugWeakBroadcastEvent<K extends string, TArgs extends unknown[]> 

Methods

Method Description
addListener(listener)  
addTemporaryListener(listener)  
emit(args)  
removeListener(listener)