status method

PgPoolStatus status()

Get the current debug information of the pool's internal state.

Implementation

PgPoolStatus status() => PgPoolStatus(
      connections: _connections.map((c) => c.status()).toList(),
      activeSessionCount: _executor.runningCount,
      pendingSessionCount: _executor.waitingCount,
    );