Warning

Nightly releases are generated automatically from the latest source code and are intended for experimental purposes only. These builds may contain incomplete or untested features, bugs, or security vulnerabilities, and as such, are not for production use. Users should be aware that nightly releases may cause unexpected behavior, data loss, or system instability. Use of these releases is at the user's own risk, and it is advised to have adequate backups before testing. The software is provided as is with no guarantees or support.

IEventListenerΒΆ

Interface IEventListener<T>

A listener for webvis events that can be registered via the EventAPI.

The listener consumes an event that extends WebVisEvent and is expected to not return anything. If the listener returns a promise, the listener execution mechanism will not wait for the promise to resolve.

The event's type property specifies its EventType and determines its structure.

Type Parameters

  • T extends WebVisEvent = WebVisEvent

    The type of event that the listener listens to. This can also be a union of multiple event types.

  • Parameters

    • event: T

      The event that has been fired.

    Returns void