Skip to main content

utils_TimeoutManager_smart_timer.TimeoutInstance

perfect-graph / Modules / utils/TimeoutManager/smart-timer / TimeoutInstance

Interface: TimeoutInstance#

utils/TimeoutManager/smart-timer.TimeoutInstance

Table of contents#

Methods#

Methods#

clear#

â–¸ clear(erase?): void

Parameters#

NameType
erase?boolean

Returns#

void

Defined in#

utils/TimeoutManager/smart-timer.ts:37


executed#

â–¸ executed(): boolean

Returns#

boolean

Defined in#

utils/TimeoutManager/smart-timer.ts:38


exists#

â–¸ exists(): boolean

Returns#

boolean

Defined in#

utils/TimeoutManager/smart-timer.ts:39


lastExecuted#

â–¸ lastExecuted(): Date

Returns#

Date

Defined in#

utils/TimeoutManager/smart-timer.ts:40


pause#

â–¸ pause(): number | boolean

Returns#

number | boolean

Defined in#

utils/TimeoutManager/smart-timer.ts:41


paused#

â–¸ paused(): boolean

Returns#

boolean

Defined in#

utils/TimeoutManager/smart-timer.ts:42


pending#

â–¸ pending(): boolean

Returns#

boolean

Defined in#

utils/TimeoutManager/smart-timer.ts:43


remaining#

â–¸ remaining(): number

Returns#

number

Defined in#

utils/TimeoutManager/smart-timer.ts:44


restart#

â–¸ restart(): boolean | Checker

Returns#

boolean | Checker

Defined in#

utils/TimeoutManager/smart-timer.ts:45


resume#

â–¸ resume(): boolean | Checker

Returns#

boolean | Checker

Defined in#

utils/TimeoutManager/smart-timer.ts:46


set#

â–¸ set(newCallback, newMs?, ...newParams): Checker

Parameters#

NameType
newCallbackCallback
newMs?number
...newParamsany[]

Returns#

Checker

Defined in#

utils/TimeoutManager/smart-timer.ts:47