done property

Future<void> get done

Completes when the run in progress ends, or straight away.

Implementation

static Future<void> get done => _running ?? Future<void>.value();