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

Method _destroy

app/public/socketcluster-client.js:8679–8683  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8677 }
8678
8679 _destroy() {
8680 this.isAlive = false;
8681 this._resetBackpressure();
8682 this.stream.removeConsumer(this.id);
8683 }
8684
8685 async _waitForNextItem(timeout) {
8686 return new Promise((resolve, reject) => {

Callers 5

killMethod · 0.95
nextMethod · 0.95
returnMethod · 0.95
AGTransportFunction · 0.80

Calls 2

_resetBackpressureMethod · 0.95
removeConsumerMethod · 0.80

Tested by

no test coverage detected