Promise<T> constructor
Promise<T> (
- void executor(
- void resolve(
- T result
- Function reject
- void resolve(
Implementation
external Promise(
void Function(void Function(T result) resolve, Function reject) executor);