Skip to main content
IntervalHistogram.enable - perf_hooks - Node documentation
method IntervalHistogram.enable

Usage in Deno

import { type IntervalHistogram } from "node:perf_hooks";
IntervalHistogram.enable(): boolean

Enables the update interval timer. Returns true if the timer was started, false if it was already started.

Return Type

boolean