method complete


void complete()

Synchronously completes the job.

Source

void complete() {
  if (isScheduled) {
    stop();
    _callback();
  }
}