raiseEvent Method

Raises the event by calling each registered listener with the supplied arguments.

See BeAsyncEventOptions for options that control the behavior of this method.

raiseEvent(...args: Parameters<T>): Promise<void>

@returns A Promise that settles when the event invocation is complete.

Parameter Type Description
...args Parameters<T> This method takes any number of parameters and passes them through to the listeners.

Returns - Promise

A Promise that settles when the event invocation is complete.

Defined in

Last Updated: 05 November, 2026