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

Function fluentTransaction

src/store/index.ts:1399–1405  ·  view source on GitHub ↗
(
    actions: (...idArgs: Id[]) => unknown,
    ...args: unknown[]
  )

Source from the content-addressed store, hash-verified

1397 };
1398
1399 const fluentTransaction = (
1400 actions: (...idArgs: Id[]) => unknown,
1401 ...args: unknown[]
1402 ): Store => {
1403 transaction(() => actions(...arrayMap(args, id)));
1404 return store;
1405 };
1406
1407 const addSortedRowIdsListenerImpl = (
1408 tableId: Id,

Callers 15

setContentFunction · 0.70
setTablesFunction · 0.70
setTableFunction · 0.70
setRowFunction · 0.70
setPartialRowFunction · 0.70
setCellFunction · 0.70
setValuesFunction · 0.70
setPartialValuesFunction · 0.70
setValueFunction · 0.70
applyChangesFunction · 0.70
setJsonFunction · 0.70
setTablesSchemaFunction · 0.70

Calls 3

arrayMapFunction · 0.90
actionsFunction · 0.85
transactionFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…