task

open fun task(@NotNull runnable: @NotNull Runnable)

Schedules a task to run on the next tracker tick.

Since

1.15.2

Parameters

runnable

the task to run