runTaskTimerAsynchronously

fun runTaskTimerAsynchronously(period: Long = 1, delay: Long = 1, task: () -> Unit): RecurringTask

Runs a repeating task asynchronously every given ticks (1 tick = 0.05 seconds) after the given ticks (1 tick = 0.05 seconds)

Return

the RecurringTask

Parameters

period

The ticks to wait between each run. Defaults to 1 tick (0.05 seconds)

delay

The ticks to wait before the first run. Defaults to 1 tick (0.05 seconds)

task

The task to run