Home > rc-js-util > TemporaryListener
Provides a communication channel via callbacks which can be easily cleared & copied.
Signature:
export declare class TemporaryListener<TArgs extends []> implements ITemporaryListener<TArgs>
Implements: ITemporaryListener
Method | Modifiers | Description |
---|---|---|
addListener(listener) | ||
clearingEmit(args) | ||
clearListeners() | ||
emit(args) | ||
getTargets() | ||
initializeListener(callback) |