forceClose method

Future forceClose ()

Forces the server to close.

Implementation

Future<dynamic> forceClose() {
  _channelsController.close();
  return Future
      .wait<dynamic>([_channelsController.done, _server.close(force: true)]);
}