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

Function send

src/synchronizers/synchronizer-ws-client/index.ts:46–52  ·  view source on GitHub ↗
(
    toClientId: IdOrNull,
    ...args: [requestId: IdOrNull, message: Message, body: any]
  )

Source from the content-addressed store, hash-verified

44 };
45
46 const send = (
47 toClientId: IdOrNull,
48 ...args: [requestId: IdOrNull, message: Message, body: any]
49 ): void =>
50 arrayForEach(createPayloads(toClientId, ...args, fragmentSize), (payload) =>
51 webSocket.send(payload),
52 );
53
54 const destroy = (): void => {
55 webSocket.close();

Callers

nothing calls this directly

Calls 3

arrayForEachFunction · 0.90
createPayloadsFunction · 0.90
sendMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…