Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NewCron = runtime.ConstructorFor[*Cron, runtime.Runtime]( func() *Cron { return &Cron{ cron: cron.New( cron.WithLocation(time.UTC), cron.WithSeconds(), ), } }, func(hr *Cron) runtime.Runtime { return hr }, )
constructor
Functions ¶
func WithCronJob ¶
func WithTaskProducer ¶
func WithTaskProducer(taskProducer task.Producer) runtime.Configuration[*Cron]
Types ¶
Click to show internal directories.
Click to hide internal directories.