Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/totaljs/framework
/ websocket_valid_fn
Function
websocket_valid_fn
index.js:15578–15580 ·
view source on GitHub ↗
(id, client, fn, msg)
Source
from the content-addressed store, hash-verified
15576
}
15577
15578
function
websocket_valid_fn(id, client, fn, msg) {
15579
return
fn && fn(id, client, msg) ? true : false;
15580
}
15581
15582
/**
15583
* Sends a ping message
Callers
1
index.js
File · 0.85
Calls
1
fn
Function · 0.70
Tested by
no test coverage detected