@acala-network/chopsticks-core • Docs
@acala-network/chopsticks-core / Deferred
Type Alias: Deferred<T>
Deferred<
T
>:object
Type Parameters
• T
Type declaration
promise
promise:
Promise
<T
>
reject()
reject: (
reason
?) =>void
Parameters
• reason?: any
Returns
void
resolve()
resolve: (
value
) =>void
Parameters
• value: T
| PromiseLike
<T
>
Returns
void