Properties
promise
Methods
callback
- callback(err: any, value: R, ...values: R[]): void
-
Parameters
-
err: any
-
value: R
-
Rest
...values: R[]
Returns void
reject
- reject(reason: any): void
-
Returns void
resolve
- resolve(value: R): void
-
Returns void
- resolve(): void
-
Returns void
Returns a reference to the controlled promise that can be passed to clients.