poolClose method

Future<Result<Unit>> poolClose(
  1. int poolId
)

Closes the specified connection pool and releases all connections.

The poolId must be a valid pool identifier. All connections in the pool will be closed and the pool will be destroyed. Returns Unit on success.

Implementation

Future<Result<Unit>> poolClose(int poolId) async =>
    _repository.poolClose(poolId);