close method

Future<void> close()

Closes the broker, backend, and event-sink connections.

Implementation

Future<void> close() async {
  await broker.close();
  await backend?.close();
  await events.close();
  await controlChannel.close();
}