Promise<T> constructor

Promise<T>(
  1. void executor(
    1. void resolve(
      1. T result
      ),
    2. Function reject
    )
)

Implementation

external Promise (void executor(void resolve(T result), Function reject));