shutdown method

  1. @override
Future<void> shutdown()

Shuts down this channel.

No further RPCs can be made on this channel. RPCs already in progress will be allowed to complete.

Implementation

@override
Future<void> shutdown() async {
  await _connectionResult?.result?.shutdown();
  _connectionResult = null;
}