interface
stable
OBSERVABLE INTERFACES
interface Subscribable<T> { subscribe(observer?: PartialObserver<T>): Unsubscribable }
Observable
ConnectableObservable
GroupedObservable
Subject
BehaviorSubject
ReplaySubject
AsyncSubject
subscribe(next: null | undefined, error: null | undefined, complete: () => void): Unsubscribable
next | Type: |
error | Type: |
complete | Type: |
Unsubscribable
subscribe(next: null | undefined, error: (error: any) => void, complete?: () => void): Unsubscribable
next | Type: |
error | Type: |
complete | Optional. Default is Type: |
Unsubscribable
subscribe(next: (value: T) => void, error: null | undefined, complete: () => void): Unsubscribable
next | Type: |
error | Type: |
complete | Type: |
Unsubscribable
subscribe(next?: (value: T) => void, error?: (error: any) => void, complete?: () => void): Unsubscribable
next | Optional. Default is Type: |
error | Optional. Default is Type: |
complete | Optional. Default is Type: |
Unsubscribable
© 2015–2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors.
Code licensed under an Apache-2.0 License. Documentation licensed under CC BY 4.0.
https://rxjs.dev/api/index/interface/Subscribable