Kron Scheduler
interface KronScheduler
Content copied to clipboard
This interface was created for abstraction of next operation. Currently, there is only dev.inmo.krontab.internal.CronDateTimeScheduler realisation of this interface inside of this library, but you it is possible to create your own realisation of this interface for scheduling, for example, depending of users activity or something like this
See also
dev.inmo.krontab.internal.CronDateTimeScheduler
Functions
Inheritors
Extensions
asFlow
Link copied to clipboard
doInfinity
Link copied to clipboard
inline suspend fun KronScheduler.doInfinity(noinline block: suspend () -> Unit)
Content copied to clipboard
Will execute block without any checking of result
doWhile
Link copied to clipboard
inline suspend fun KronScheduler.doWhile(noinline block: suspend () -> Boolean)
Content copied to clipboard
Will execute block while it will return true as a result of its calculation
next
Link copied to clipboard
nextOrNow
Link copied to clipboard
nextOrRelative
Link copied to clipboard
suspend fun KronScheduler.nextOrRelative(relatively: DateTime = DateTime.now()): DateTime
Content copied to clipboard
nextTimeZoned
Link copied to clipboard
plus
Link copied to clipboard
operator fun KronScheduler.plus(kronScheduler: KronScheduler): CollectionKronScheduler
Content copied to clipboard
Sources
common source
Link copied to clipboard