stopAsync abstract method

Future<void> stopAsync()

Stops the connection.

Returns a Future that resolves when the connection has been successfully terminated, or rejects with an error.

Implementation

Future<void> stopAsync();