An event source that supports subscribing to events of a certain type.

This is the "read-only" version of EventEmitter: it does not allow emitting events at the TypeScript level.

  • emitter for creating an event channel.
  • on for subscribing to events.
  • EventEmitter for the writable version of this interface.

Type Parameters

  • T

Hierarchy (View Summary)