Converts an Observe function to a Promise that will resolve with the first value. Note that you will never receive subsequent updates since promises can only resolve once.
source observable
the first value yielded by the observe function.
Converts an Observe function to a Promise that will resolve with the first value. Note that you will never receive subsequent updates since promises can only resolve once.