``` this.sessions = []; ``` if i define that i...
# durable-objects
s
Copy code
this.sessions = [];
if i define that in my constructor -- how persistent is that? only if other workers connect to that DO on that same id can access that while there is a websocket? suppose i send a request to this DO and update
sessions
since its just a request and it doesn't "hold" it, is it immediately erased if i send another request? this is relating to this: https://github.com/cloudflare/workers-chat-demo/blob/66f513acb23fd5acafbc2efba4385d1a1becd7fc/src/chat.mjs#L220