Interface ConnectionProvider

Hierarchy

Implemented by

Methods

  • Provides a connection for the callback and takes care of disposing the connection after the callback has been run.

    Type Parameters

    • T

    Parameters

    • consumer: ((connection) => Promise<T>)

    Returns Promise<T>

Generated using TypeDoc