import { fromAsyncFunction } from "https://deno.land/x/stream_observables@v1.3/sources/mod.ts";
Creates an observable from an asynchronous function. The observable emits exactly one value when once the function returns.
Parameters
f: () => Promise<T>
Async function that will be awaited.
Returns
New observable that emits the value the async function returns.