SuspendInvocableCommand

Functions

Link copied to clipboard
abstract suspend fun execute(invocation: I)

Executes the command for the specified invocation.

Link copied to clipboard
open fun hasPermission(invocation: I): Boolean

Tests to check if the source has permission to perform the specified invocation.

Link copied to clipboard
open suspend fun suggest(invocation: I): List<String>

Provides tab complete suggestions for the specified invocation.