MCPcopy
hub / github.com/witheve/Eve / executeActions

Function executeActions

src/runtime/actions.ts:138–150  ·  view source on GitHub ↗
(multiIndex: MultiIndex, actions: Action[], rows: any[], changes: Changes, capture = false)

Source from the content-addressed store, hash-verified

136}
137
138export function executeActions(multiIndex: MultiIndex, actions: Action[], rows: any[], changes: Changes, capture = false) {
139 if(capture) {
140 changes.capture();
141 }
142 for(let row of rows) {
143 for(let action of actions) {
144 action.execute(multiIndex, row, changes);
145 }
146 }
147 if(capture) {
148 return changes.captureEnd();
149 }
150}

Callers 1

executeMethod · 0.90

Calls 3

captureMethod · 0.80
captureEndMethod · 0.80
executeMethod · 0.45

Tested by

no test coverage detected