Method signature MeetAddonClient.on

Provides access to the AddonCallbacks that the add-on can utilize.

Signature

on<T extends keyof AddonCallbacks>(
    eventId: T,
    eventHandler: AddonCallbacks[T],
  ): void;

Type parameters

Name Optional Constraint Default
T No keyof AddonCallbacks

Details

Optional No

Parameters

Name Type Optional Description
eventId T No
eventHandler AddonCallbacks[T] No

Returns

void