Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rimbu/core/mod.ts>MaybePromise

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
type alias MaybePromise
Re-export
import { type MaybePromise } from "https://deno.land/x/rimbu@1.1.0/core/mod.ts";

A type that is either a value T or a promise yielding a value of type T.

definition: T | Promise<T>