Hierarchy

  • MetricsContext

Constructors

Methods

  • Parameters

    • onReport: ((report: MetricsReport) => void)
    • interval: number
    • abortSignal: AbortSignal
    • Optional formatNumber: ((value: number) => string)
        • (value: number): string
        • Parameters

          • value: number

          Returns string

    Returns void

  • Parameters

    • id: string

    Returns undefined | Metric

Generated using TypeDoc