runTaskTimerAsynchronously

open override fun runTaskTimerAsynchronously(runnable: Runnable, delay: Long, period: Long): FoliaScheduledTask

Schedules the specified task to be executed asynchronously after the initial delay has passed and then periodically executed with the specified period

Return

The {@link MyScheduledTask} that represents the scheduled task

Parameters

runnable

The task to execute

delay

The time delay to pass before the first execution of the task, in ticks

period

The time between task executions after the first execution of the task, in ticks