MCPcopy Create free account
hub / github.com/commandoperator/cmdop-sdk / end

Method end

node/src/transport.ts:69–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67 }
68
69 end(): void {
70 this.#done = true;
71 if (this.#wait) {
72 const w = this.#wait;
73 this.#wait = undefined;
74 w({ value: undefined as never, done: true });
75 }
76 }
77
78 fail(err: Error): void {
79 this.#err = err;

Callers 4

#dispatchMethod · 0.80
closeMethod · 0.80
envelopesMethod · 0.80
crashFunction · 0.80

Calls

no outgoing calls

Tested by 1

crashFunction · 0.64