js-util

Home > rc-js-util > TemporaryListener

TemporaryListener class

Provides a communication channel via callbacks which can be easily cleared & copied.

Signature:

export declare class TemporaryListener<TArgs extends []> implements ITemporaryListener<TArgs> 

Implements: ITemporaryListener

Methods

Method Modifiers Description
addListener(listener)    
clearingEmit(args)    
clearListeners()    
emit(args)    
getTargets()    
initializeListener(callback)