Package cloud. commandframework. kotlin. coroutines. extension
Extension functions for existing Cloud types
Functions
suspending Handler
Link copied to clipboard
fun <C : Any> Command.Builder<C>.suspendingHandler(scope: CoroutineScope = GlobalScope, context: CoroutineContext = EmptyCoroutineContext, handler: SuspendingExecutionHandler<C>): Command.Builder<C>
Content copied to clipboard
fun <C : Any> MutableCommandBuilder<C>.suspendingHandler(scope: CoroutineScope = GlobalScope, context: CoroutineContext = EmptyCoroutineContext, handler: SuspendingExecutionHandler<C>): MutableCommandBuilder<C>
Content copied to clipboard
Specify a suspending command execution handler.