/// <summary>
 /// Restores the last snapshot
 /// </summary>
 private void HandleSnapshotOffer(SnapshotOffer offer)
 {
     if (offer.Snapshot is ReadingPersistenceState state)
     {
         _state = state;
     }
 }