MCPcopy Index your code
hub / github.com/nodejs/node / forEachIteration

Function forEachIteration

test/fixtures/snapshot/typescript.js:198–204  ·  view source on GitHub ↗
(iterator, action)

Source from the content-addressed store, hash-verified

196 }
197 }
198 function forEachIteration(iterator, action) {
199 if (iterator) {
200 for (var step = iterator.next(); !step.done; step = iterator.next()) {
201 action(step.value);
202 }
203 }
204 }
205 function createIteratorData(data, selector) {
206 return { current: data.head, selector: selector };
207 }

Callers 2

MapFunction · 0.85
SetFunction · 0.85

Calls 2

actionFunction · 0.85
nextMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…