MCPcopy
hub / github.com/angular/angular / isStable

Function isStable

packages/core/test/change_detection_scheduler_spec.ts:57–59  ·  view source on GitHub ↗
(injector = TestBed.inject(EnvironmentInjector))

Source from the content-addressed store, hash-verified

55import {global} from '../src/util/global';
56
57function isStable(injector = TestBed.inject(EnvironmentInjector)): boolean {
58 return toSignal(injector.get(ApplicationRef).isStable, {requireSync: true, injector})();
59}
60
61describe('Angular with zoneless enabled', () => {
62 async function createFixture<T>(type: Type<T>): Promise<ComponentFixture<T>> {

Calls 3

toSignalFunction · 0.90
injectMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…