Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ChartGPU/ChartGPU
/ generateMessageId
Function
generateMessageId
src/worker/ChartGPUWorkerProxy.ts:76–78 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
74
*/
75
let
messageIdCounter = 0;
76
function
generateMessageId(): string {
77
return
`msg_${Date.now()}_${++messageIdCounter}`;
78
}
79
80
/**
81
* Generates a unique chart ID
for
worker communication.
Callers
1
init
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected