closeAll static method

void closeAll()

Should be called whenever Fkafka itself is not going to be used anymore.

Implementation

static void closeAll() {
  for (final controller in _controllers.values) {
    controller.close();
  }
  _controllers.clear();
}