MCPcopy Index your code
hub / github.com/tinyplex/tinybase / sendImpl

Function sendImpl

src/synchronizers/index.ts:90–99  ·  view source on GitHub ↗
(
    toClientId: IdOrNull,
    requestId: IdOrNull,
    message: MessageEnum | any,
    body: any,
  )

Source from the content-addressed store, hash-verified

88 const getTransactionId = () => getUniqueId(11);
89
90 const sendImpl = (
91 toClientId: IdOrNull,
92 requestId: IdOrNull,
93 message: MessageEnum | any,
94 body: any,
95 ) => {
96 sends++;
97 onSend?.(toClientId, requestId, message, body);
98 send(toClientId, requestId, message, body);
99 };
100
101 const request = async <Response>(
102 toClientId: IdOrNull,

Callers 3

requestFunction · 0.70
setPersistedFunction · 0.70
createCustomSynchronizerFunction · 0.70

Calls 1

sendFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…