Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ObservableSubscription<T>

Type parameters

  • T

Hierarchy

  • ObservableSubscription

Implements

Index

Constructors

Methods

Constructors

constructor

  • new ObservableSubscription<T>(obs: Observable<T>, shouldRetry?: boolean, operatorFunction?: OperatorFunction<T, T>): ObservableSubscription<T>

Methods

close

  • close(): void

off

  • off(type: "error", cb: (error: Error) => void): void
  • off(type: "data", cb: (data: T) => void): void
  • off(type: "close", cb: () => void): void

on

  • on(type: "error", cb: (error: Error) => void): void
  • on(type: "data", cb: (data: T) => void): void
  • on(type: "close", cb: () => void): void

Generated using TypeDoc