MCPcopy
hub / github.com/nestjs/nest / close

Method close

packages/microservices/client/client-tcp.ts:123–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

121 }
122
123 public close() {
124 this.socket && this.socket.end();
125 this.handleClose();
126 this.pendingEventListeners = [];
127 }
128
129 public registerConnectListener(socket: TcpSocket) {
130 socket.on(TcpEventsMap.CONNECT, () => {

Callers

nothing calls this directly

Calls 2

handleCloseMethod · 0.95
endMethod · 0.65

Tested by

no test coverage detected