Created
March 7, 2024 11:06
-
-
Save jchapuis/f4b4db37fddc880bba262990c99a96ec to your computer and use it in GitHub Desktop.
Transfer coordinator
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
transactor.coordinator[TransferID, AccountID, Transfer, TransferFailure]( | |
"transfer", | |
{ accountID => | |
val account = sharding.entityFor(accountID) | |
new TransferBranch(accountID, account) | |
}, | |
Some(transferParameters.timeout) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment