CollectionKronScheduler

This scheduler will be useful in case you want to unite several different KronSchedulers

Functions

Link copied to clipboard
fun KronScheduler.asFlowWithDelays(): <Error class: unknown class><<Error class: unknown class>>

This flow is cold

Link copied to clipboard
fun KronScheduler.asFlowWithoutDelays(since: <Error class: unknown class>? = null): <Error class: unknown class><<Error class: unknown class>>

This flow is cold

Link copied to clipboard
fun KronScheduler.asTzFlowWithDelays(): <Error class: unknown class><<Error class: unknown class>>

This flow is cold

Link copied to clipboard
fun KronScheduler.asTzFlowWithoutDelays(since: <Error class: unknown class>? = null): <Error class: unknown class><<Error class: unknown class>>

This flow is cold

Link copied to clipboard
inline suspend fun KronScheduler.doInfinity(block: (<Error class: unknown class>) -> Unit)

Will execute block without any checking of result

Link copied to clipboard
inline suspend fun KronScheduler.doInfinityTz(noinline block: suspend (<Error class: unknown class>) -> Unit)

Will execute block without any checking of result

Link copied to clipboard
inline suspend fun <T> KronScheduler.doOnce(block: (<Error class: unknown class>) -> T): T

Execute block once at the KronScheduler.next time and return result of block calculation.

Link copied to clipboard
inline suspend fun <T> KronScheduler.doOnceTz(noinline block: suspend (<Error class: unknown class>) -> T): T

Execute block once at the KronScheduler.next time and return result of block calculation.

Link copied to clipboard
inline suspend fun KronScheduler.doWhile(block: (<Error class: unknown class>) -> Boolean)

Will execute block while it will return true as a result of its calculation

Link copied to clipboard
inline suspend fun KronScheduler.doWhileTz(noinline block: suspend (<Error class: unknown class>) -> Boolean)

Will execute block while it will return true as a result of its calculation

Link copied to clipboard
fun include(kronScheduler: KronScheduler)

Add kronScheduler into its schedulers list

Link copied to clipboard
inline fun CollectionKronScheduler.includeAll(vararg kronSchedulers: KronScheduler)
Link copied to clipboard
open suspend override fun next(relatively: <Error class: unknown class>): <Error class: unknown class>
open suspend override fun next(relatively: <Error class: unknown class>): <Error class: unknown class>
Link copied to clipboard
suspend fun KronScheduler.next(relatively: <Error class: unknown class>): <Error class: unknown class>
Link copied to clipboard
suspend fun KronScheduler.nextOrNow(): <Error class: unknown class>
Link copied to clipboard
suspend fun KronSchedulerTz.nextOrNowWithOffset(): <Error class: unknown class>
Link copied to clipboard
suspend fun KronScheduler.nextOrRelative(relatively: <Error class: unknown class> = DateTime.now()): <Error class: unknown class>
suspend fun KronSchedulerTz.nextOrRelative(relatively: <Error class: unknown class>): <Error class: unknown class>
Link copied to clipboard
suspend fun KronScheduler.nextTimeZoned(): <Error class: unknown class>?
Link copied to clipboard
Link copied to clipboard
operator fun CollectionKronScheduler.plusAssign(kronScheduler: KronScheduler)