close method

Future<void> close()

Implementation

Future<void> close() {
  return Future.wait([
    _onChannelPresenceController.close(),
    _onMatchmakerMatchedController.close(),
    _onMatchDataController.close(),
    _onMatchPresenceController.close(),
    _onNotificationsController.close(),
    _onStatusPresenceController.close(),
    _onStreamPresenceController.close(),
    _onStreamDataController.close(),
    _onChannelMessageController.close(),
    _channel.sink.close(),
  ]);
}