MCPcopy Create free account
hub / github.com/SocketCluster/socketcluster / close

Method close

app/public/socketcluster-client.js:7604–7612  ·  view source on GitHub ↗
(streamName, value)

Source from the content-addressed store, hash-verified

7602 }
7603
7604 close(streamName, value) {
7605 this._mainStream.write({
7606 stream: streamName,
7607 data: {
7608 value,
7609 done: true
7610 }
7611 });
7612 }
7613
7614 closeAll(value) {
7615 this._mainStream.close(value);

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected