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

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

There is a newer version: 1.1.10
Show newest version
package org.enodeframework.commanding

import java.util.concurrent.CompletableFuture

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

    init {
        this.items = items
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy