Helper method for sending domain event to the server.
Helper method for sending domain event to the server. Server will return modified aggregate root. Events can't be modified once they are submitted. Only new events can be created.
event to apply
aggregate root instance
future containing modified aggregate root
Apply domain event to a single aggregate.
Apply domain event to a single aggregate. Server will return modified aggregate root. Events can't be modified once they are submitted. Only new events can be created.
event to apply
aggregate root uri
future containing modified aggregate root
Send domain event to the server.
Send domain event to the server. Server will return identity under which it was stored. Events can't be modified once they are submitted. Only new events can be created.
event to raise
future containing string value of event URI
Service for submitting domain events to the application server.
It should be used when Future is a preferred way of interacting with the remote server.