MCPcopy 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.jsFile · 0.85

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected