Kronos
object Kronos
Functions
Link copied to clipboard
Cancel and remove a single job by its ID. Triggers Job.onDrop. Returns true if the job was found and deleted.
Link copied to clipboard
Initialize Kronos with a backend store. Call once at application startup.
Link copied to clipboard
suspend fun Kronos.schedule(jobName: String, delay: <Error class: unknown class> = Duration.ZERO, interval: <Error class: unknown class>? = null, endTime: Long? = null, maxCycles: Int? = null, retries: Int? = null, params: Map<String, String>, overshotAction: OvershotAction = OvershotAction.Drop): String?
Link copied to clipboard