You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you don't have a WebSocket being initialized in some sort of root component, and instead you spawn them off in some effect, then you have no way of controlling the socket's lifetime. It would be best for use_websocket to have an additional Arc-like version of itself where the lifetime is controlled by reference counting, and not by the lifetime of its reactive owner.
The text was updated successfully, but these errors were encountered:
If you don't have a
WebSocket
being initialized in some sort of root component, and instead you spawn them off in some effect, then you have no way of controlling the socket's lifetime. It would be best foruse_websocket
to have an additionalArc
-like version of itself where the lifetime is controlled by reference counting, and not by the lifetime of its reactive owner.The text was updated successfully, but these errors were encountered: