Skip to main content

Subscribable

Provides safe access to the public interface of EventDispatcherBase.

External classes can use it to subscribe to an event without being able to dispatch it.

Type Parameters

Extended by

Constructors

constructor

Type Parameters

Parameters

Methods

subscribe

public subscribehandler: THandler: () => void

Subscribe to the event.

Parameters


unsubscribe

public unsubscribehandler: THandler: void

Unsubscribe from the event.

Parameters