closedFuture property
Future<void>
get
closedFuture
Returns a future that completes when this connection is closed.
This usually only happens when calling close, but on the web specifically, it can also happen when a remote context closes a database accessed via connectToEndpoint.
Implementation
Future<void> get closedFuture;