Package-level declarations

Functions

Link copied to clipboard
inline fun <V> TaskScheduler.scheduleCallable(delay: Duration, crossinline command: () -> V): ScheduledFuture<V>

Extension for TaskScheduler.schedule providing a scheduleCallable(delay) { doWork() } variant.

inline fun <V> TaskScheduler.scheduleCallable(cron: String, crossinline command: () -> V): ScheduledFuture<V>

Extension for TaskScheduler.schedule providing a scheduleCallable("0 0 12 * * ?") { doWork() } variant.