kettle

Kotlin utilities for Quilt mod development


Project maintained by Cypher121 Hosted on GitHub Pages — Theme by mattgraham

//kettle/coffee.cypher.kettle.scheduler/scheduler

scheduler

[jvm]\

@JvmName(name = "scheduler$noContext")

fun scheduler(config: TickingScheduler<Unit>.() -> Unit): TickingScheduler<Unit>

Creates a new TickingScheduler with no additional task context configured with the provided config.

[jvm]
fun <T : Any> scheduler(config: TickingScheduler<T>.() -> Unit): TickingScheduler<T>

Creates a TickingScheduler with the additional context of type T configured with the provided config.