task

open override fun task(runnable: Runnable): ModelTask?

Schedules a task to run on the next tick.

Return

the scheduled task, or null if scheduling failed

Since

2.0.0

Parameters

runnable

the task to run