PromiseConstructorLike: (new <T>(executor) => PromiseLike<T>)
Type declaration
-
- new <T>(executor): PromiseLike<T>
-
Parameters
-
executor: ((resolve, reject) => void)
-
- (resolve, reject): void
-
Parameters
-
resolve: ((value) => void)
-
- (value): void
-
Returns void
-
reject: ((reason?) => void)
-
- (reason?): void
-
Returns void
Returns void