MCPcopy Create free account
hub / github.com/apache/cassandra-nodejs-driver / destroy

Method destroy

test/unit/connection-tests.js:211–213  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

209
210 class Socket extends BaseSocketMock {
211 destroy() {
212 setImmediate(() => this.emit('close'));
213 }
214
215 end() {
216 this.destroy();

Callers 4

endMethod · 0.95
errorConnectingMethod · 0.45
closeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected