MCPcopy Create free account
hub / github.com/esmBot/esmBot / close

Method close

src/utils/mediaConnection.ts:152–155  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

150 }
151
152 close() {
153 this.disconnected = true;
154 this.conn.close();
155 }
156
157 queue(jobid: bigint, jobobj: object): Promise<void> {
158 logger.debug(`Queuing ${jobid} on media server ${this.host}`);

Callers 6

onMessageMethod · 0.95
disconnectFunction · 0.80
stopMethod · 0.80
stopHTTPServerFunction · 0.80
sigHandlerFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected