flush method

void flush()

Implementation

void flush() {
  _callback?.call();
  cancel();
}