packages/mangojuice-core/src/classes/Process.js
function forEachChildren(proc, iterator) {
  for (let id in proc.children) {
    iterator(proc.children[id]);
  }
}
function forEachChildren(proc, iterator) {
  for (let id in proc.children) {
    iterator(proc.children[id]);
  }
}
function forEachChildren ( proc , iterator ) { for ( let id in proc . children ) { iterator ( proc . children [ id ] ) ; } }
Iterate through all active child processes and run
given iterator for every model.
@param  {Process} proc
Iterate through all active child processes and run given iterator for every model .