Interface Subscribable<T>
Methods
subscribe
- subscribe(onNext, onError?, onComplete?): Subscription
Parameters
- onNext: ((value: T) => void)
- (value): void
Returns void
Optional
onError: ((reason: string | Error) => void)- (reason): void
Returns void
Optional
onComplete: (() => void)