Skip to main content

Module cron_service

Module cron_service 

Source
Expand description

CronService SPI — trait and types for cron-triggered scheduling backends.

The default implementation is TokioCronService in camel-cron. Future backends (e.g. a persistent Quartz-style scheduler) implement this trait from component-api without depending on camel-cron.

Structs§

CronFire
Metadata about a single cron fire, passed to CronCallback.
CronSchedule
A scheduled cron trigger handed to a CronService.

Traits§

CronService
SPI for cron-triggered scheduling backends.

Type Aliases§

CronCallback
Async, fallible callback invoked on each cron fire.