setSuspendingExecutor
fun <Error class: unknown class>.setSuspendingExecutor(suspendingCommandExecutor: SuspendingCommandExecutor)
Registers a command executor with suspending function. Does exactly the same as PluginCommand.setExecutor.
fun <Error class: unknown class>.setSuspendingExecutor(context: CoroutineContext, suspendingCommandExecutor: SuspendingCommandExecutor)
Registers a command executor with suspending function. Does exactly the same as PluginCommand.setExecutor.
Parameters
context
The coroutine context to start. Should almost be always be Plugin.minecraftDispatcher.