setSuspendingTabCompleter

fun <ERROR CLASS>.setSuspendingTabCompleter(suspendingTabCompleter: SuspendingTabCompleter)

Registers a tab completer with suspending function. Does exactly the same as PluginCommand.setExecutor.

fun <ERROR CLASS>.setSuspendingTabCompleter(context: CoroutineContext, suspendingTabCompleter: SuspendingTabCompleter)

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.