closeAll static method
Close all connection pools (cleanup)
Implementation
static Future<void> closeAll() async {
for (final pool in _connectionPools.values) {
await pool.close();
}
_connectionPools.clear();
}
Close all connection pools (cleanup)
static Future<void> closeAll() async {
for (final pool in _connectionPools.values) {
await pool.close();
}
_connectionPools.clear();
}