Lambda Kron Scheduler Tz
class LambdaKronSchedulerTz(onNext: suspend (<Error class: unknown class>) -> <Error class: unknown class>?) : KronSchedulerTz(source)
Constructors
Link copied to clipboard
fun LambdaKronSchedulerTz(onNext: suspend (<Error class: unknown class>) -> <Error class: unknown class>?)
Functions
Extensions
Link copied to clipboard
This method is a map for asTzFlow and will works the same but return flow with DateTimes
Link copied to clipboard
This Flow will trigger emitting each near time which will be returned from this with attention to time zones
Link copied to clipboard
inline suspend fun KronScheduler.doInfinity(noinline block: suspend (<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(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 <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(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
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
suspend fun KronScheduler.next(relatively: <Error class: unknown class>): <Error class: unknown class>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun KronSchedulerTz.nextOrRelative(relatively: <Error class: unknown class>): <Error class: unknown class>
suspend fun KronScheduler.nextOrRelative(relatively: <Error class: unknown class> = DateTime.now()): <Error class: unknown class>
Link copied to clipboard
Link copied to clipboard