task

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

Register this task on next tick

Parameters

runnable

task