set Suspending Tab Completer
fun <ERROR CLASS>.setSuspendingTabCompleter(suspendingTabCompleter: SuspendingTabCompleter)
Content copied to clipboard
Registers a tab completer with suspending function. Does exactly the same as PluginCommand.setExecutor.
fun <ERROR CLASS>.setSuspendingTabCompleter(context: CoroutineContext, suspendingTabCompleter: SuspendingTabCompleter)
Content copied to clipboard
Registers a tab completer with suspending function. Does exactly the same as PluginCommand.setExecutor.
Parameters
context
The coroutine context to start. Should almost be always be Plugin.minecraftDispatcher.