SubscribableOrPromise

type-alias deprecated

Deprecation Notes

Do not use. Most likely you want to use ObservableInput. Will be removed in v8.

type SubscribableOrPromise<T> = Subscribable<T> | Subscribable<never> | PromiseLike<T> | InteropObservable<T>;

© 2015–2021 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/type-alias/SubscribableOrPromise