Hibernatable Client WebSockets #1440
helloimalastair
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
I think this "ought to" be supported, that is, it makes sense technically. I don't think this is something we're likely to work on in the near future, though. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
At the moment, the Hibernatable WebSockets API, while appearing client/server agnostic from the types, only functions with Server-side WebSockets(where the DurableObject is the Server). Would it be possible to add support for Client-side WebSockets to hibernate as well? This would be nice for consuming a WebSocket-based API(real-time data of some kind), and reducing the number of times you have to restart a WebSocket due to a DO getting evicted.
Beta Was this translation helpful? Give feedback.
All reactions