so messages can be pushed into the queue from dashboard again. in my consumer Worker, I want to rou
so messages can be pushed into the queue from dashboard again.
in my consumer Worker, I want to route the queue message back to a client using a websocket. I'm not having much luck.
My socket connects correctly and produced test messages etc - but as soon as the queue has a message, the socket is null. I've tried putting the server object from the WebsocketPair into a variable both local and in the env object. Always null.
How can I store the active websocket from the worker, so the queue message can be send ?
in my consumer Worker, I want to route the queue message back to a client using a websocket. I'm not having much luck.
My socket connects correctly and produced test messages etc - but as soon as the queue has a message, the socket is null. I've tried putting the server object from the WebsocketPair into a variable both local and in the env object. Always null.
How can I store the active websocket from the worker, so the queue message can be send ?






