MCPcopy Index your code
hub / github.com/scality/cloudserver / closeChannel

Function closeChannel

lib/management/push.js:140–146  ·  view source on GitHub ↗
(channelId)

Source from the content-addressed store, hash-verified

138 }
139
140 function closeChannel(channelId) {
141 const socket = socketsByChannelId[channelId];
142 if (socket) {
143 socket.destroy();
144 delete socketsByChannelId[channelId];
145 }
146 }
147
148 function receiveChannelData(channelId, payload) {
149 let socket = socketsByChannelId[channelId];

Callers 1

startWSManagementClientFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected