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

Method GetCallId

src/Common/RpcClient.ts:38–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36 }
37
38 protected GetCallId(): number {
39 return ++this.callId ^ Date.now();
40 }
41
42 protected RemovePendingRequest(callId: number) {
43 const found = this.pendingRequests.findIndex(x => x.callId === callId);

Callers 1

CallMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected