SuspendingSimpleCommand

interface SuspendingSimpleCommand : SuspendInvocableCommand<<Error class: unknown class>>

Suspending SimpleCommand.

Functions

Link copied to clipboard
abstract suspend fun execute(invocation: <Error class: unknown class>)

Executes the command for the specified invocation.

Link copied to clipboard
open fun hasPermission(invocation: <Error class: unknown class>): Boolean

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

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

Provides tab complete suggestions for the specified invocation.