Methods
subscribe
- subscribe(next?: ((value: T) => void), error?: ((error: any) => void), complete?: (() => void)): any
-
Parameters
-
Optional
next: ((value: T) => void)
-
- (value: T): void
-
Returns void
-
Optional
error: ((error: any) => void)
-
- (error: any): void
-
Returns void
-
Optional
complete: (() => void)
Returns any
Minimal
Observable
interface compatible withasync-done
.See
https://github.com/ReactiveX/rxjs/blob/c3c56867eaf93f302ac7cd588034c7d8712f2834/src/internal/Observable.ts#L77