An event that can be subscribed to. You can use the token, returned from the subscribe method, to clean up handlers.
export declare interface EventSink<T> { subscribe(handler: EventHandler<T>): IEventToken;} Copy
export declare interface EventSink<T> { subscribe(handler: EventHandler<T>): IEventToken;}
Handler function to subscribe with.
An event handler subscription token that can be used to unsubscribe and clean-up handlers.
Subscribes an event handler to a particular subscription.
An event that can be subscribed to. You can use the token, returned from the subscribe method, to clean up handlers.
Source