SuspendingTabCompleter

interface SuspendingTabCompleter

Represents a suspending class which can suggest tab completions for commands.

Functions

onTabComplete
Link copied to clipboard
abstract suspend fun onTabComplete(sender: <ERROR CLASS>, command: <ERROR CLASS>, alias: String, args: Array<out String>): List<String>?

Requests a list of possible completions for a command argument. If the call is suspended during the execution, the returned list will not be shown.