typealias Awaitable

export type Awaitable<Value> = PromiseLike<Value> | Value;

Represents a type that may or may not be a promise

Type Parameters

Value

Union Members

PromiseLike<Value> Value