Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var retryAttempts = 10;
- var supervisionStrategy = new OneForOneStrategy((pid, reason) =>
- SupervisorDirective.Restart, retryAttempts)
- Actor.FromProducer(() => new TransferProcess(...)
- .WithChildSupervisorStrategy(supervisionStrategy);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement