Skip to content

IEventHandler.handle

github-actions[bot] edited this page Nov 17, 2024 · 2 revisions

The method that handles the event.

handle(
  subject: TSubject,
  args: TEventArgs
): void

Source reference: src/events/IEventHandler.ts:12.

Parameters

  • subject: TSubject
    The object that raised the event.

  • args: TEventArgs
    A set of arguments that provide context for the event.

Clone this wiki locally