Type Alias Event<T>

Event: (listener: (e: T) => void) => IDisposable

A function that represents a subscription to an event. Call the returned disposable to unsubscribe.

Type Parameters

  • T

Type declaration