done property

Future get done

Completes when either

  1. connections size goes from >0 to 0, or
  2. timeout has passed and connections is empty

Implementation

Future get done => _closedCompleter.future;