MCPcopy Index your code
hub / github.com/simstudioai/sim / runWithoutRecording

Function runWithoutRecording

apps/sim/stores/table/store.ts:88–95  ·  view source on GitHub ↗
(fn: () => T | Promise<T>)

Source from the content-addressed store, hash-verified

86 * mutations inside `executeAction` don't accidentally push new undo entries.
87 */
88export async function runWithoutRecording<T>(fn: () => T | Promise<T>): Promise<T> {
89 undoRedoInProgress = true
90 try {
91 return await fn()
92 } finally {
93 undoRedoInProgress = false
94 }
95}
96
97export const useTableUndoStore = create<TableUndoState>()(
98 devtools(

Callers 1

useTableUndoFunction · 0.90

Calls 1

fnFunction · 0.50

Tested by

no test coverage detected