Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mongodb/node-mongodb-native
/ getSockets
Function
getSockets
test/tools/fixtures/process_resource_script.in.js:90–90 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
88
* @returns Array of socket resources in the event loop
89
*/
90
const
getSockets = () => process.report.getReport().libuv.filter(r => r.
type
===
'tcp'
);
91
92
/**
93
* @returns Array of remote endpoints of socket resources in the event loop
Callers
2
run
Function · 0.85
activeSocketsAfterHeartbeat
Function · 0.85
Calls
1
filter
Method · 0.45
Tested by
2
run
Function · 0.68
activeSocketsAfterHeartbeat
Function · 0.68