All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.enodeframework.commanding.ProcessingCommand.kt Maven / Gradle / Ivy

package org.enodeframework.commanding

import java.util.concurrent.CompletableFuture

/**
 * @author [email protected]
 */
class ProcessingCommand(
    val message: CommandMessage,
    val commandExecuteContext: CommandExecuteContext,
    val items: MutableMap
) {
    lateinit var mailBox: ProcessingCommandMailbox
    var sequence: Long = 0
    var isDuplicated = false
    fun completeAsync(commandResult: CommandResult): CompletableFuture {
        return commandExecuteContext.onCommandExecutedAsync(commandResult)
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy