SuspendingSimpleCommand

interface SuspendingSimpleCommand : SuspendInvocableCommand<<ERROR CLASS>>

Suspending SimpleCommand.

Functions

execute
Link copied to clipboard
abstract suspend fun execute(invocation: <ERROR CLASS>)

Executes the command for the specified invocation.

hasPermission
Link copied to clipboard
open fun hasPermission(invocation: <ERROR CLASS>): Boolean

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

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

Provides tab complete suggestions for the specified invocation.