MCPcopy
hub / github.com/socketio/socket.io / randomId

Function randomId

packages/socket.io-adapter/lib/cluster-adapter.ts:14–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12const DEFAULT_TIMEOUT = 5000;
13
14function randomId() {
15 return randomBytes(8).toString("hex");
16}
17
18type DistributiveOmit<T, K extends keyof any> = T extends any
19 ? Omit<T, K>

Callers 4

constructorFunction · 0.70
broadcastWithAckFunction · 0.70
fetchSocketsFunction · 0.70
serverSideEmitFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected