@revideo/core / events / SubscribableAsyncEvent
Type Alias: SubscribableAsyncEvent<T>
SubscribableAsyncEvent<
T> =Subscribable<T,AsyncEventHandler<T>>
Defined in: events/AsyncEventDispatcher.ts:52
Provides safe access to the public interface of AsyncEventDispatcher.
Type Parameters
T
T
The type of the argument passed to subscribers.
Remarks
External classes can use it to subscribe to an event without being able to dispatch it.