Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ConsoleTimer<T>

Type parameters

  • T

Hierarchy

Implements

Index

Constructors

constructor

Properties

Protected Readonly _enabled

_enabled: PropEnabled

Protected Readonly console

console: Console

Readonly feature

feature: ApmFeatures

Readonly fqn

fqn: string

Protected Readonly listeners

listeners: Listener<T>[] = []

Readonly name

name: string

Protected Readonly options

Protected Readonly rawName

rawName: string

Readonly tags

tags: Tags

Methods

enabled

  • enabled(key: string): boolean

onDone

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