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
reject
• reject: (reason
: any
) => void
Type declaration
▸ (reason
): void
Parameters
Name | Type |
---|---|
reason | any |
Returns
void
Defined in
resolve
• resolve: (value
: ERef
<T
>) => void
Type declaration
▸ (value
): void
Parameters
Name | Type |
---|---|
value | ERef <T > |
Returns
void