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

Function setPendingTimeout

src/synchronizers/common.ts:66–67  ·  view source on GitHub ↗
(bufferKey: Id)

Source from the content-addressed store, hash-verified

64 const buffer: IdMap<Pending> = mapNew();
65
66 const setPendingTimeout = (bufferKey: Id) =>
67 startTimeout(() => collDel(buffer, bufferKey), fragmentTimeoutSeconds);
68
69 const delPending = (bufferKey: Id, pending: Pending) => {
70 stopTimeout(pending[3]);

Callers 1

createPayloadReceiverFunction · 0.70

Calls 2

startTimeoutFunction · 0.90
collDelFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…