Skip to main content

Class: TimerManager

time-utilities/src.TimerManager

Hierarchy

  • any

    TimerManager

Constructors

constructor

new TimerManager()

Inherited from

null.constructor

Properties

storedIntervals

Static Private storedIntervals: Set<Timeout>

Defined in

projects/utilities/packages/time-utilities/src/lib/TimerManager.ts:13


storedTimeouts

Static Private storedTimeouts: Set<Timeout>

Defined in

projects/utilities/packages/time-utilities/src/lib/TimerManager.ts:8

Methods

clearInterval

Static clearInterval(interval): void

Parameters

NameTypeDescription
intervalTimeout

Returns

void

Defined in

projects/utilities/packages/time-utilities/src/lib/TimerManager.ts:55


clearTimeout

Static clearTimeout(timeout): void

Parameters

NameTypeDescription
timeoutTimeout

Returns

void

Defined in

projects/utilities/packages/time-utilities/src/lib/TimerManager.ts:34


destroy

Static destroy(): void

Returns

void

Defined in

projects/utilities/packages/time-utilities/src/lib/TimerManager.ts:63


setInterval

Static setInterval<A>(fn, delay, ...args): Timeout

Type parameters

NameType
Aunknown

Parameters

NameTypeDescription
fn(...args: A[]) => void
delaynumber
...argsA[]

Returns

Timeout

Defined in

projects/utilities/packages/time-utilities/src/lib/TimerManager.ts:45


setTimeout

Static setTimeout<A>(fn, delay, ...args): Timeout

Type parameters

NameType
Aunknown

Parameters

NameTypeDescription
fn(...args: A[]) => void
delaynumber
...argsA[]

Returns

Timeout

Defined in

projects/utilities/packages/time-utilities/src/lib/TimerManager.ts:21