MCPcopy Create free account
hub / github.com/PleasureTools/joyBox / RemovePendingRequest

Method RemovePendingRequest

src/Common/RpcClient.ts:42–48  ·  view source on GitHub ↗
(callId: number)

Source from the content-addressed store, hash-verified

40 }
41
42 protected RemovePendingRequest(callId: number) {
43 const found = this.pendingRequests.findIndex(x => x.callId === callId);
44 if (found === -1)
45 return;
46
47 this.pendingRequests.splice(found, 1);
48 }
49
50 /**
51 * Call remote function. throw

Callers 1

CallMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected