close method
Waits for queued requests, then closes the task and its worker.
Implementation
Future<void> close() {
_closed = true;
return _reported(_close(_id));
}
Waits for queued requests, then closes the task and its worker.
Future<void> close() {
_closed = true;
return _reported(_close(_id));
}