Could you use a worker to be a websocket
Could you use a worker to be a websocket client? Like say I make a request to wake up a worker, then that worker then connects to a websocket server and waits for messages, then when new messages come in it processes them (or a durable object doesn't really matter)
3 Replies
I guess probably a durable object so I can tell it to disconnect when I want, but still
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Just seeing this, thanks!