graphql-tools-monorepo / utils/src / PromiseWithResolvers
Interface: PromiseWithResolvers<T>
utils/src.PromiseWithResolvers
Type parameters
Name |
---|
T |
Table of contents
Properties
Properties
promise
• promise: Promise
<T
>
Defined in
packages/utils/src/createDeferred.ts:2
reject
• reject: (reason
: any
) => void
Type declaration
▸ (reason
): void
Parameters
Name | Type |
---|---|
reason | any |
Returns
void
Defined in
packages/utils/src/createDeferred.ts:4
resolve
• resolve: (value
: T
| PromiseLike
<T
>) => void
Type declaration
▸ (value
): void
Parameters
Name | Type |
---|---|
value | T | PromiseLike <T > |
Returns
void