resolve

Bun

Symbol

$.ShellPromise.resolve

static resolve<T>(value: T): Promise<Awaited<T>>

Creates a new resolved promise for the provided value.

@param value

A promise.

@returns

A promise whose internal state matches the provided promise.