Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Subscribable<T>

Type parameters

  • T

Hierarchy

Index

Methods

Methods

subscribe

  • subscribe(observer: Observer<T>): Subscription
  • subscribe(next: (value: T) => void, error?: undefined | ((error: any) => void), complete?: undefined | (() => void)): Subscription
  • Parameters

    Returns Subscription

  • Parameters

    • next: (value: T) => void
        • (value: T): void
        • Parameters

          • value: T

          Returns void

    • Optional error: undefined | ((error: any) => void)
    • Optional complete: undefined | (() => void)

    Returns Subscription

Generated using TypeDoc