Skip to content

Instantly share code, notes, and snippets.

@justinhj
Last active December 17, 2019 16:34
Show Gist options
  • Save justinhj/4ac549930314c9a2574f03ce6732938f to your computer and use it in GitHub Desktop.
Save justinhj/4ac549930314c9a2574f03ce6732938f to your computer and use it in GitHub Desktop.
.onCommand[AssignAccountHolderCmd, Done]{
case (AssignAccountHolderCmd(time, accountHolder), ctx, state) =>
ctx.thenPersist(AssignAccountHolderEvt(time, accountHolder)){
_ =>
ctx.reply(Done)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment