{ } qjs-modules

timers

Source: lib/timers.js (pure JS)

Node-style interval timers, layered on os.setTimeout.

Exports

ExportArgsKindDescription
setTimeout—re-exportRe-exported from os.
clearTimeout—re-exportRe-exported from os.
setInterval(fn, t)2functionRepeatedly invokes fn every t ms; returns an id.
clearInterval(id)1functionCancels an interval started by setInterval.