observe

Converts a value to an observable. If the value is an observable, just returns that observable. If the value is a promise, converts it to an observable (see rxjs `from`). If the value is neither, just returns an observable that immediately emits the value.

Graycore, LLC © 2018 - 2024. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.