Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StatsDTimerWrapper<T>

Type parameters

  • T

Hierarchy

Implements

  • TimerWrapper<T>

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Readonly name

name: string

Protected Readonly options

options: StatsDOptions

Protected Readonly statsd

statsd: StatsD

Readonly tags

tags: Tags

Methods

wrap

  • wrap(func: (...args: unknown[]) => T): (...args: unknown[]) => T
  • Parameters

    • func: (...args: unknown[]) => T
        • (...args: unknown[]): T
        • Parameters

          • Rest ...args: unknown[]

          Returns T

    Returns (...args: unknown[]) => T

      • (...args: unknown[]): T
      • Parameters

        • Rest ...args: unknown[]

        Returns T

Generated using TypeDoc