Scheduler Configuration
open fun SchedulerConfiguration(executeEveryTick: Long, runnable: Runnable)
Content copied to clipboard
Create a new SchedulerConfiguration for multiple runs. Will run async!
Parameters
execute Every Tick
Execute on every X tick. (20 ticks are 1 second!)
runnable
The runnable to be executed if the scheduler ticks.
open fun SchedulerConfiguration(executeEveryTick: Long, runOnce: Boolean, runnable: Runnable)
Content copied to clipboard
Create a new SchedulerConfiguration for multiple runs. Will run async!
Parameters
execute Every Tick
Execute on every X tick. (20 ticks are 1 second!)
run Once
Run only once?
runnable
The runnable to be executed if the scheduler ticks.
open fun SchedulerConfiguration(executeEveryTick: Long, runOnce: Boolean, runnable: Runnable, async: Boolean)
Content copied to clipboard
Create a new SchedulerConfiguration for multiple runs.
Parameters
execute Every Tick
Execute on every X tick. (20 ticks are 1 second!)
run Once
Run only once?
runnable
The runnable to be executed if the scheduler ticks.
async
Should it executed async?