async

fun async(runnable: ShardRunnable.() -> Unit): ShardRunnable

Schedules an asynchronous task to be executed by the Bukkit scheduler.

Return

The ShardRunnable representing the scheduled task.

Parameters

runnable

The function representing the task to be executed.