MCPcopy
hub / github.com/tinyplex/tinybase / willSetContent

Function willSetContent

src/middleware/index.ts:83–84  ·  view source on GitHub ↗
(content: Content)

Source from the content-addressed store, hash-verified

81 const willApplyChangesCallbacks: WillApplyChangesCallback[] = [];
82
83 const willSetContent = (content: Content): Content | undefined =>
84 reduceCallbacks(willSetContentCallbacks, content);
85
86 const willSetTables = (tables: Tables): Tables | undefined =>
87 reduceCallbacks(willSetTablesCallbacks, tables);

Callers 1

setValidContentFunction · 0.50

Calls 1

reduceCallbacksFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…