Skip to main content

Time

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Time(uid, opts)

Parameters

NameType
uidstring
optsTimeOpts

Overrides

Cron.constructor

Properties

uid

Readonly uid: string

Inherited from

Cron.uid

Methods

close

close(): void

Returns

void

Inherited from

Cron.close


off

off(event, handler): any

Parameters

NameType
eventstring
handlerany

Returns

any

Inherited from

Cron.off


on

on(event, listener): Time

Parameters

NameType
event"triggered"
listener() => void

Returns

Time

Inherited from

Cron.on


update

update(opts): void

Update the settings

Parameters

NameType
optsTimeOpts

Returns

void