123456789101112131415161718 |
- import { hasActiveObservations } from '../algorithms/hasActiveObservations';
- import { hasSkippedObservations } from '../algorithms/hasSkippedObservations';
- import { deliverResizeLoopError } from '../algorithms/deliverResizeLoopError';
- import { broadcastActiveObservations } from '../algorithms/broadcastActiveObservations';
- import { gatherActiveObservationsAtDepth } from '../algorithms/gatherActiveObservationsAtDepth';
- var process = function () {
- var depth = 0;
- gatherActiveObservationsAtDepth(depth);
- while (hasActiveObservations()) {
- depth = broadcastActiveObservations();
- gatherActiveObservationsAtDepth(depth);
- }
- if (hasSkippedObservations()) {
- deliverResizeLoopError();
- }
- return depth > 0;
- };
- export { process };
|