Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TimerClass

Hierarchy

  • TimerClass

Index

Properties

Optional context

context: any

cronTime

cronTime: string

initTimer

initTimer: (daruk: Daruk) => void

Type declaration

    • Parameters

      Returns void

Optional onComplete

onComplete: undefined | ((cron: CronJob, daruk: Daruk) => void)

onTick

onTick: (cron: CronJob, daruk: Daruk) => void

Type declaration

    • (cron: CronJob, daruk: Daruk): void
    • Parameters

      • cron: CronJob
      • daruk: Daruk

      Returns void

Optional runOnInit

runOnInit: undefined | false | true

Optional start

start: undefined | false | true

Optional timeZone

timeZone: undefined | string

Generated using TypeDoc