default<T>(value: T): Promise<RecursivePromiseToReal<T>>
Recursively awaits all promises inside an object
value: T
Value containing a promise
The same value, with the promise replaced by their return values.
Recursively awaits all promises inside an object
default<T>(value: T): Promise<RecursivePromiseToReal<T>>
Recursively awaits all promises inside an object
value: T
Value containing a promise
The same value, with the promise replaced by their return values.
Add Package
deno add jsr:@mary/deep-promise
Import symbol
import default from "@mary/deep-promise";
---- OR ----
Import directly with a jsr specifier
import default from "jsr:@mary/deep-promise";
Add Package
npx jsr add @mary/deep-promise
Import symbol
import default from "@mary/deep-promise";
Add Package
yarn dlx jsr add @mary/deep-promise
Import symbol
import default from "@mary/deep-promise";
Add Package
pnpm dlx jsr add @mary/deep-promise
Import symbol
import default from "@mary/deep-promise";
Add Package
bunx jsr add @mary/deep-promise
Import symbol
import default from "@mary/deep-promise";