Skip to main content
IntervalHistogram - node__perf_hooks.d.ts - Node documentation
interface IntervalHistogram
extends Histogram

Usage in Deno

```typescript import { type IntervalHistogram } from "node:node__perf_hooks.d.ts"; ```

Methods

enable(): boolean
Enables the update interval timer. Returns `true` if the timer was started, `false` if it was already started.
disable(): boolean
Disables the update interval timer. Returns `true` if the timer was stopped, `false` if it was already stopped.