cancel method

void cancel()

stop the sync loop

Implementation

void cancel() {
  var tmp0 = 0;
  tmp0 = _box.borrow();
  _api._syncStateCancel(tmp0);
  return;
}