launch
fun launch(context: CoroutineContext = EmptyCoroutineContext, block: suspend CoroutineScope.() -> Unit): TaskHandle
Launches a coroutine on the Bukkit main thread.
Return
a TaskHandle that can be used to cancel the coroutine
Parameters
context
additional coroutine context
block
the coroutine code