org.enodeframework.commanding.CommandExecuteContext.kt Maven / Gradle / Ivy
package org.enodeframework.commanding
import java.util.concurrent.CompletableFuture
/**
* Represents a context environment for command executor executing command.
*/
interface CommandExecuteContext : CommandContext, TrackingContext {
/**
* Notify the given command is executed.
*/
fun onCommandExecutedAsync(commandResult: CommandResult): CompletableFuture
}