Subscribable<T> Interface

Subscribable interface compatible with rxjs This interface ensures that consumers are not required to have rxjs as dependency.

Methods

Name Description
subscribe(observer?: Observer<T>): Subscription    
subscribe(next: "null", error: "null", complete: () => void): Subscription    
subscribe(next: "null", error: (error: any) => void, complete?: () => void): Subscription    
subscribe(next: (value: T) => void, error: "null", complete: () => void): Subscription    
subscribe(next?: (value: T) => void, error?: (error: any) => void, complete?: () => void): Subscription    

Defined in

Last Updated: 17 December, 2024