doWhile

inline suspend fun KronScheduler.doWhile(noinline block: suspend (<ERROR CLASS>) -> Boolean)

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


inline suspend fun doWhile(scheduleConfig: String, noinline block: suspend (<ERROR CLASS>) -> Boolean)

Will buildSchedule using scheduleConfig and call doWhile with block

See also

Sources

Link copied to clipboard
Link copied to clipboard