# Microsoft.AspNetCore.Connections.Abstractions

``` diff
 namespace Microsoft.AspNetCore.Connections.Abstractions {
-    public interface IReconnectFeature {
-        Action NotifyOnReconnect { get; set; }
-    }
+    [RequiresPreviewFeaturesAttribute("IStatefulReconnectFeature is a preview interface")]
+    public interface IStatefulReconnectFeature {
+        void DisableReconnect();
+        void OnReconnected(Func<PipeWriter, Task> notifyOnReconnect);
+    }
 }
```

