oracle-helpers
    Preparing search index...

    Function closePools

    • Close all connection pools managed by the oracle-helpers

      Parameters

      • OptionaldrainTime: number

        The number of seconds before the pool and connections are force closed.

        If drainTime is 0, the pool and its connections are closed immediately.

      Returns Promise<{ error: unknown; pool: Pool }[]>

      An array of pools that failed to close with the error thrown.