Skip to content

Endo API documentation - v0.2.0 / Exports / @endo/promise-kit / PromiseKit

Interface: PromiseKit<T>

@endo/promise-kit.PromiseKit

A reified Promise

Type parameters

Name
T

Table of contents

Properties

Properties

promise

promise: Promise<T>

Defined in

src/types.js:6


reject

reject: (reason: any) => void

Type declaration

▸ (reason): void

Parameters
NameType
reasonany
Returns

void

Defined in

src/types.js:5


resolve

resolve: (value: ERef<T>) => void

Type declaration

▸ (value): void

Parameters
NameType
valueERef<T>
Returns

void

Defined in

src/types.js:4