Skip to main content

events

import {...} from "@revideo/core/lib/events";

Subscriptions and triggering of events.

Classes

Interfaces

Type Aliases

SubscribableAsyncEvent

type SubscribableAsyncEventT = SubscribableTAsyncEventHandlerT

Provides safe access to the public interface of AsyncEventDispatcher.

External classes can use it to subscribe to an event without being able to dispatch it.

Type Parameters

  • T

    The type of the argument passed to subscribers.


SubscribableEvent

type SubscribableEventT = SubscribableT

Provides safe access to the public interface of EventDispatcher.

External classes can use it to subscribe to an event without being able to dispatch it.

Type Parameters

  • T

    The type of the argument passed to subscribers.


SubscribableFlagEvent

type SubscribableFlagEvent = Subscribablevoid

Provides safe access to the public interface of FlagDispatcher.

External classes can use it to subscribe to an event without being able to dispatch it.