void cancelAsync(int handle)

Cancels an async operation started with async.

Source

void cancelAsync(int handle) {
  jsElement.callMethod('cancelAsync', [handle]);
}