detritus

Intervalclass

A setInterval you can restart or stop without keeping the handle around.

On this page
import { Timers } from 'detritus-utils';

Timers.Interval;
3 properties5 methodssrc/timers.ts:1

Constructor

new Interval

new Interval()

Properties

reference
any
Default null
shouldRef
boolean
Default true

Accessors

hasStarted
boolean
get

Methods