Implements

Constructors

Properties

Methods

Constructors

Properties

#private: any

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>