Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dylan-sutton-chavez/edge-python
/ allocSse
Function
allocSse
host/network/src/main/state.js:16–16 ·
view source on GitHub ↗
(es)
Source
from the content-addressed store, hash-verified
14
};
15
16
const
allocSse = (es) => { sseSources.push(es);
return
sseSources.length - 1; };
17
const
sse = (h) => {
18
if
(h < 0 || h >= sseSources.length || sseSources[h] === null) {
19
throw
new
Error(
'invalid sse handle: '
+ h);
Callers
1
sse.js
File · 0.85
Calls
1
push
Method · 0.80
Tested by
no test coverage detected