ThenScope

class ThenScope(plugin: Plugin, delay: Ticks) : Runner

Scope for chaining tasks that should execute sequentially with a delay.

Constructors

Link copied to clipboard
constructor(plugin: Plugin, delay: Ticks)

Functions

Link copied to clipboard
open infix override fun run(task: () -> Unit): TaskHandle

Executes the specified task after the delay associated with this scope.