Package-level declarations
Types
Link copied to clipboard
open class Task(var duration: Duration, val callback: suspend () -> Unit, var pollingSeconds: Long = 1, val coroutineScope: CoroutineScope = dev.kordex.core.utils.getKoin().get<Kord>(), val parent: Scheduler? = null, val name: String = "Unnamed", val repeat: Boolean = false) : KordExKoinComponent
Simple class representing a polling-based delayed task. Coroutine-based.