MCPcopy
hub / github.com/facebook/react / serializePromiseID

Function serializePromiseID

packages/react-server/src/ReactFlightServer.js:2672–2674  ·  view source on GitHub ↗
(id: number)

Source from the content-addressed store, hash-verified

2670}
2671
2672function serializePromiseID(id: number): string {
2673 return '$@' + id.toString(16);
2674}
2675
2676function serializeServerReferenceID(id: number): string {
2677 return '$h' + id.toString(16);

Callers 2

serializeDebugThenableFunction · 0.70
renderModelDestructiveFunction · 0.70

Calls 1

toStringMethod · 0.65

Tested by

no test coverage detected