Open zxcv05 opened 1 week ago
Currently how the entire websocket system works is as follows:
reqwest_websocket
StreamCtrl
VecDeque
It's a bit more complicated than that but it's very over complicated. I'd rather it not be, for maintainability and readability
It's important to note the reason why we have two threads is because reading from rx (rx.try_next()) blocks
rx.try_next()
Currently how the entire websocket system works is as follows:
reqwest_websocket
StreamCtrl
, which makes twoVecDeque
's (rx, tx)VecDeque
'sIt's a bit more complicated than that but it's very over complicated. I'd rather it not be, for maintainability and readability