Skip to main content

LensStudio:Event.js

Module

The LensStudio:Event.js module for Lens Studio plugins.

Classes

ClassDescription
EventA type-safe event emitter that supports adding, removing, and triggering listeners. Provides functionality for one-time listeners, error handling, and event enabling/disabling.

Type Aliases

Type AliasDescription
EventListenerA function that handles event notifications.
UnsubscribeA function that unsubscribes a listener from an event when called.