Skip to main content
Immediate.prototype.hasRef - timers - Node documentation
method Immediate.prototype.hasRef

Usage in Deno

import { Immediate } from "node:timers";
Immediate.prototype.hasRef(): boolean

If true, the Immediate object will keep the Node.js event loop active.

Return Type

boolean
Back to top