Durable object outgoing webSocket connection
Assuming a durable object (say object A) that handles received websocket connections using the hibernation API. If object A is to create a websocket connection to another service ( for simplicity consider the other service is another worker with a different durable object class (say B ) that also handles received WebSockets by the hibernation API), Will the socket connection between A and B prevent A from hibernating? if it will not prevent A from hibernating, what happens to the connection between A and B on hibernation?
0 Replies