reset method

void reset()

Unbinds the current task and marks the isolate as not busy.

Implementation

void reset() {
  task = null;
  isBusy = false;
}