KAsyncCommand

class KAsyncCommand<S : Any>(val allowParallel: Boolean, scope: CoroutineScope, val handler: KAsyncCommand.Handler<S>) : Command<S>

Constructors

Link copied to clipboard
constructor(allowParallel: Boolean, scope: CoroutineScope, handler: KAsyncCommand.Handler<S>)

Types

Link copied to clipboard
fun interface Handler<S : Any>

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun run(ctx: CommandContext<S>): Int