done property

Future get done

Completes when the connection has ended, also when it failed.

Implementation

Future get done => _done.future;