Last active
June 13, 2017 11:56
-
-
Save perokvist/409f474559f44657e8d2cdf19a53b94d to your computer and use it in GitHub Desktop.
ApplicationService util
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
await ApplicationService.ExecuteAsync( // (await response options 4.2 vs 4.3 | |
eventStore, | |
command.AggregateId, | |
command.CorrelationId, | |
events => events.Rehydrate<AggregateState>(), //aggregate, fold, match | |
state => Aggregate.Handle(command, state), | |
log.AppendAsync, | |
locks, | |
timeoutHandler, | |
waitForLockRelease: false // 4.2 vs 4.3 | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment