closeAll static method

Future<void> closeAll()

Close all connection pools (cleanup)

Implementation

static Future<void> closeAll() async {
  for (final pool in _connectionPools.values) {
    await pool.close();
  }
  _connectionPools.clear();
}