Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheRedDeveloper/ply-engine
/ try_recv
Method
try_recv
src/net/websocket.rs:118–120 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
116
}
117
118
pub fn try_recv(&self) -> Option<WsMessage> {
119
self.rx.try_recv().ok()
120
}
121
122
pub fn close(&self) {
123
let _ = self.tx.send(OutgoingWsMessage::Close);
Callers
1
recv
Method · 0.45
Calls
2
ply_net_ws_try_recv
Function · 0.85
Text
Class · 0.85
Tested by
no test coverage detected