TypedEvent
passes through events as they happen. You will not get events from before you start listening
Type parameters
• T
Constructors
new TypedEvent()
new TypedEvent<
T
>():TypedEvent
<T
>
Returns
TypedEvent
<T
>
Methods
addListener()
addListener(
listener
):Disposable
Parameters
• listener: Listener
<T
>
Returns
Source
addOnceListener()
addOnceListener(
listener
):void
Parameters
• listener: Listener
<T
>
Returns
void
Source
emit()
emit(
event
):void
Parameters
• event: T
Returns
void
Source
pipe()
pipe(
te
):Disposable
Parameters
• te: TypedEvent
<T
>
Returns
Source
removeListener()
removeListener(
listener
):void
Parameters
• listener: Listener
<T
>
Returns
void