MCPcopy Create free account
hub / github.com/awslabs/llrt / close

Method close

llrt_core/src/modules/js/@llrt/test/SocketClient.ts:85–92  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83 }
84
85 async close(): Promise<void> {
86 return new Promise((resolve) => {
87 this.socket.end(() => {
88 this.socket.destroy();
89 resolve();
90 });
91 });
92 }
93}
94
95export default SocketClient;

Callers

nothing calls this directly

Calls 3

endMethod · 0.65
destroyMethod · 0.65
resolveFunction · 0.50

Tested by

no test coverage detected