MCPcopy Index your code
hub / github.com/angular/angular / updateMicroTaskStatus

Function updateMicroTaskStatus

packages/core/src/zone/ng_zone.ts:526–536  ·  view source on GitHub ↗
(zone: NgZonePrivate)

Source from the content-addressed store, hash-verified

524}
525
526function updateMicroTaskStatus(zone: NgZonePrivate) {
527 if (
528 zone._hasPendingMicrotasks ||
529 ((zone.shouldCoalesceEventChangeDetection || zone.shouldCoalesceRunChangeDetection) &&
530 zone.callbackScheduled === true)
531 ) {
532 zone.hasPendingMicrotasks = true;
533 } else {
534 zone.hasPendingMicrotasks = false;
535 }
536}
537
538function onEnter(zone: NgZonePrivate) {
539 zone._nesting++;

Callers 3

scheduleCheckStableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…