Suspending Execution Handler
Suspending version of CommandExecutionHandler for use with coroutines.
NOTE: It is highly advised to not use CommandExecutionCoordinator.SimpleCoordinator together with coroutine support. Consider using AsynchronousCommandExecutionCoordinator instead.
Parameters
C
command sender type
Types
Functions
as Command Execution Handler
Link copied to clipboard
open fun asCommandExecutionHandler(scope: CoroutineScope = GlobalScope, context: CoroutineContext = EmptyCoroutineContext): CommandExecutionHandler<C>
Content copied to clipboard
Create a new CommandExecutionHandler for use in building commands, backed by this SuspendingExecutionHandler.