Constructors

Accessors

  • get defaultManager(): string
  • Returns string

  • set defaultManager(name): void
  • Parameters

    • name: string

    Returns void

Methods

  • Closes all connections

    Returns Promise<number>

    The number of connections closed

  • Closes all connections

    Returns Promise<number>

    The number of connections closed

  • Type Parameters

    • T = unknown

    Parameters

    • Optional manager: string

    Returns void | Promise<T>

  • Type Parameters

    • T = unknown

    Returns void | Promise<T>

  • Closes all connections and removes all managers

    Returns Promise<number>

  • Type Parameters

    • T = unknown

    Parameters

    • Optional manager: string

    Returns undefined | T

  • Type Parameters

    • T = unknown

    Returns undefined | T

  • Parameters

    • name: string

    Returns boolean