Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/rimbu/common/async-optlazy.ts>AsyncOptLazy

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
namespace AsyncOptLazy
import { AsyncOptLazy } from "https://deno.land/x/rimbu@1.0.2/common/async-optlazy.ts";

Functions

Returns the value or promised value contained in an AsyncOptLazy instance of type T.

Returns the value contained in an AsyncOptLazy instance of type T as a promise.

type alias AsyncOptLazy
import { type AsyncOptLazy } from "https://deno.land/x/rimbu@1.0.2/common/async-optlazy.ts";

A potentially lazy and/or asynchronous value of type T.