org.enodeframework.commanding.ICommandHandlerProxy.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of enode Show documentation
Show all versions of enode Show documentation
The enodeframework core implementation.
package org.enodeframework.commanding
import org.enodeframework.infrastructure.IObjectProxy
import org.enodeframework.infrastructure.MethodInvocation
import java.util.concurrent.CompletableFuture
interface ICommandHandlerProxy : IObjectProxy, MethodInvocation {
/**
* Handle the given application command async. deal with aggregate in memory
*/
fun handleAsync(context: ICommandContext?, command: ICommand?): CompletableFuture?
}