bindTask method

void bindTask(
  1. DownloadTask task
)

Binds a DownloadTask to this isolate instance and marks it as busy.

Implementation

void bindTask(DownloadTask task) {
  this.task = task;
  isBusy = true;
}