MCPcopy Create free account
hub / github.com/bywwcnll/StreamPanel / addConnection

Function addConnection

devtools/modules/state.js:86–88  ·  view source on GitHub ↗
(connectionData)

Source from the content-addressed store, hash-verified

84}
85
86export function addConnection(connectionData) {
87 state.connections[connectionData.id] = connectionData;
88}
89
90export function addMessage(connectionId, messageData) {
91 if (state.connections[connectionId]) {

Callers 2

loadSavedConnectionFunction · 0.90
handleImportFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected