internal protected virtual void AfterRestart(Exception reason) { // override LifeCycle.BeforeStart(this); }
/// <summary> /// The message delivered after the <c>Actor</c> has been restarted by its supervisor due to an exception. /// Override to implement. /// </summary> /// <param name="reason">The <c>Exception</c> cause of the supervision restart.</param> protected internal virtual void AfterRestart(Exception reason) { // override for specific recovery Logger.Error($"Default after restart recovery after: {reason.Message}", reason); LifeCycle.BeforeStart(this); }