• An asynchronous wrapper that provides a dummy metrics logger.

    Type Parameters

    • T

    • U extends readonly unknown[]

    Parameters

    • handler: ((m) => ((...args) => T | Promise<T>))
        • (m): ((...args) => T | Promise<T>)
        • Parameters

          • m: MetricsLogger

          Returns ((...args) => T | Promise<T>)

            • (...args): T | Promise<T>
            • Parameters

              • Rest ...args: U

              Returns T | Promise<T>

    Returns ((...args) => Promise<T>)

      • (...args): Promise<T>
      • Parameters

        • Rest ...args: U

        Returns Promise<T>

Generated using TypeDoc