interface Subscription {
    [asyncIterator](): AsyncIterator<Event, any, any>;
    [dispose](): void;
    [dispose](): void;
    unsubscribe(): void;
    values(): AsyncIterableIterator<Event, any, any>;
}

Hierarchy

  • AsyncIterable<Event>
  • Disposable
    • Subscription

Methods

  • Returns AsyncIterator<Event, any, any>

  • Returns void

  • Returns void