Skip to main content

Cron

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Cron(uid, opts?)

Parameters

NameType
uidstring
opts?CronOpts

Inherited from

EventBlock.constructor

Properties

uid

Readonly uid: string

Inherited from

EventBlock.uid

Methods

close

close(): void

Returns

void


off

off(event, handler): any

Parameters

NameType
eventstring
handlerany

Returns

any

Inherited from

EventBlock.off


on

on(event, listener): Cron

Parameters

NameType
event"triggered"
listener() => void

Returns

Cron

Inherited from

EventBlock.on