true if the task will not execute any more code.TaskHandle.isFinished
bool isFinished() @safeCheck if the task has finished (completed, failed, or cancelled).
bool isFinished() @safeCheck if the task has finished (completed, failed, or cancelled).
true if the task will not execute any more code.