Skip to content

Type Alias: ScheduleContextParams ​

ScheduleContextParams = object

The parameters creating a ScheduleContext, given by the schedule adapter.

Properties ​

data ​

readonly data: Record<string, any>

The input of the run: an empty object for the schedule adapter.


run ​

readonly run: number

The number of the run, from 1.


schedule ​

readonly schedule: string

The schedule of the action, as a text ('every 30s', 'cron 0 * * * *').


scheduledAt ​

readonly scheduledAt: Date

The time the run was planned for.

Released under the MIT License.