Skip to content

EventBroadcaster<T>

Defined in: event.ts:2 ↗

Allows broadcasting events.

Type Parameters

T extends unknown[]

Properties

broadcast()

ts
broadcast: (...args) => void;

Defined in: event.ts:5 ↗

Notifies attached handlers with specified payload.

Parameters

args

...[...T[]]

The payload of the notification.

Returns

void