then method

void then(
  1. Function onFulfilled,
  2. Function onRejected
)

Implementation

external void then(Function onFulfilled, Function onRejected);