poolGetState method

  1. @override
({int idle, int size})? poolGetState(
  1. int poolId
)
override

Gets the current state of the connection pool.

The poolId must be a valid pool identifier. Returns a record with pool size and idle count, or null on failure.

Implementation

@override
({int size, int idle})? poolGetState(int poolId) =>
    _native.poolGetState(poolId);