kettle

Kotlin utilities for Quilt mod development


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

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

AttachedTaskBuilder

class AttachedTaskBuilder<T : Any> : TaskBuilder<T>

Creates a Task attached to a specific TickingScheduler.

See also

 
TaskBuilder

Properties

Name Summary
name [jvm]
var name: String
the name of the created task
run [jvm]
val run: (configuration: ExecutionConfiguration) -> Unit
Configuration setter for this builder.
start [jvm]
var start: Boolean
true if the task should be started immediately, or false otherwise

Functions

Name Summary
action [jvm]
fun <T : Any> TaskBuilder<T>.action(block: TaskBlock<T>)
Sets the function executed by the Task to the provided block.