(multiIndex: MultiIndex, actions: Action[], rows: any[], changes: Changes, capture = false)
| 136 | } |
| 137 | |
| 138 | export 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 | } |
no test coverage detected