MCPcopy Create free account
hub / github.com/tinyplex/tinybase / receivePayload

Function receivePayload

test/unit/synchronizers/synchronizer-ws-server.test.ts:204–205  ·  view source on GitHub ↗
(payload: string)

Source from the content-addressed store, hash-verified

202 ) ?? [];
203 expect(fragmentGroup.length).toBeGreaterThan(1);
204 const receivePayload = (payload: string) =>
205 targetSocket.receive(getPayloadFromClient('s1', payload));
206 const receiveFirstFragment = () => receivePayload(fragmentGroup[0]);
207 const receiveRestOfFragments = () =>
208 fragmentGroup.slice(1).forEach(receivePayload);

Callers 1

receiveFirstFragmentFunction · 0.70

Calls 2

getPayloadFromClientFunction · 0.85
receiveMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…