Skip to main content

EventDispatcherBase

abstract class EventDispatcherBaseTValueTHandler extends EventHandlerTValue = EventHandlerTValue 

A base for dispatching Subscribables.

Type Parameters

Extended by

Constructors

constructor

Type Parameters

Properties

subscribable

Methods

clear

public clear(): void

Unsubscribe all subscribers from the event.


subscribe

public subscribehandler: THandler: () => void

Subscribe to the event.

Parameters


unsubscribe

public unsubscribehandler: THandler: void

Unsubscribe from the event.

Parameters