Created
June 24, 2017 13:44
-
-
Save tomliversidge/5c207dd06ca8c09454698d5d00c724dd to your computer and use it in GitHub Desktop.
Saga 3.3
This file contains hidden or 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
| private void ApplyEvent(Event @event) | |
| { | |
| switch (@event.Data) | |
| { | |
| case TransferStarted msg: | |
| _behavior.Become(AwaitingDebitConfirmation); | |
| break; | |
| // ... other transitions | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment