Skip to content

Commit

Permalink
Update PersistAsync to match docs. (#5736)
Browse files Browse the repository at this point in the history
  • Loading branch information
NaridaL authored Mar 21, 2022
1 parent a18c246 commit 5ef69e9
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@ protected override void OnCommand(object message)
if (message is string c)
{
Sender.Tell(c);
Persist($"evt-{c}-1", e => Sender.Tell(e));
Persist($"evt-{c}-2", e => Sender.Tell(e));
DeferAsync($"evt-{c}-3", e => Sender.Tell(e));
PersistAsync($"evt-{c}-1", e => Sender.Tell(e));
PersistAsync($"evt-{c}-2", e => Sender.Tell(e));
}
}
}
Expand Down

0 comments on commit 5ef69e9

Please sign in to comment.