Shard Runnable
class ShardRunnable(val task: ShardRunnable.() -> Unit, val async: Boolean = false, val delay: Long = 0) : BukkitRunnable
Properties
Functions
Link copied to clipboard
fun onComplete(delay: Long = 0, unit: TimeUnit = TimeUnit.MILLISECONDS, action: ShardRunnable.() -> Unit): ShardRunnable
Define a runnable to executed after the completion of this runnable, This runnable will run the same async state of the previous runnable
Link copied to clipboard
fun onCompleteAsync(delay: Long = 0, unit: TimeUnit = TimeUnit.MILLISECONDS, action: ShardRunnable.() -> Unit): ShardRunnable
Define a runnable to executed asynchronously after the completion of this runnable
Link copied to clipboard
fun onCompleteSync(delay: Long = 0, unit: TimeUnit = TimeUnit.MILLISECONDS, action: ShardRunnable.() -> Unit): ShardRunnable
Define a runnable to executed synchronously after the completion of this runnable
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@NotNull
Link copied to clipboard
@NotNull
Link copied to clipboard
@NotNull