connectAndUpdateStream method

Future<void> connectAndUpdateStream()

Implementation

Future<void> connectAndUpdateStream() async {
  _cstream.add(true);
  try {
    await connect(mtu: null);
  } finally {
    _cstream.add(false);
  }
}