MCPcopy Create free account
hub / github.com/subquery/subql / destroy

Method destroy

packages/cli/src/jsonrpc/client/ws.ts:52–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50 }
51
52 destroy(): void {
53 this.isDestroyed = true;
54 this._ws.close();
55 }
56
57 private onSocketClose = (code: number, reason: Buffer): void => {
58 if (this.isDestroyed) return;

Callers 12

withMethod · 0.95
getGenesisHashFunction · 0.80
batchDeleteAndThenUpdateFunction · 0.80
batchDeletePoiFunction · 0.80
bulkUpdateMethod · 0.80
bulkRemoveMethod · 0.80
runFlushMethod · 0.80
flushOperationMethod · 0.80
bulkRemoveMethod · 0.80
runFlushMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected