closeAllSubscription method

Future<void> closeAllSubscription()

Close all subscriptions

Implementation

Future<void> closeAllSubscription() async {
  await Future.wait(_globalState.inFlightRequests.values
      .map((state) => closeSubscription(state.id)));
}