import { AsyncOptLazy } from "https://deno.land/x/rimbu@1.1.0/common/async-optlazy.ts";
const { toPromise } = AsyncOptLazy;
Returns the value contained in an AsyncOptLazy
instance of type T as a promise.
x/rimbu/common/async-optlazy.ts>AsyncOptLazy.toPromise
import { AsyncOptLazy } from "https://deno.land/x/rimbu@1.1.0/common/async-optlazy.ts";
const { toPromise } = AsyncOptLazy;
Returns the value contained in an AsyncOptLazy
instance of type T as a promise.