public static ApertureAgent UseRestartWithBackOffSupervision( this ApertureAgent agent, RestartWithBackOff.Config config = null) { agent.UseSupervisor(new RestartWithBackOff(config ?? new RestartWithBackOff.Config())); return(agent); }
public static ApertureAgent UseOneForAllSupervision(this ApertureAgent agent) => agent.UseSupervisor(new OneForAll());