GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Docs
  • Tutorials
  • Playground
  • Reference
  • code

This view

  • Original page
  • New address

GeezerVison is showing angular.dev — provideStabilityDebugging • Angular

API

function provideStabilityDebugging(): EnvironmentProviders;
@returnsEnvironmentProviders

Description

Provides an application initializer that will log information about what tasks are keeping the application from stabilizing if the application does not stabilize within 9 seconds.

The logged information includes the stack of the tasks preventing stability. This stack can be traced back to the source in the application code.

If you are using Zone.js, it is recommended that you also temporarily import "zone.js/plugins/task-tracking". This Zone.js plugin provides additional information about which macrotasks are scheduled in the Angular Zone and keeping the Zone from stabilizing.

Usage Notes

import 'zone.js/plugins/task-tracking';

bootstrapApplication(AppComponent, {providers: [provideStabilityDebugging()]});

IMPORTANT: Neither the zone.js task tracking plugin nor this utility are removed from production bundles. They are intended for temporary use while debugging stability issues during development, including for optimized production builds.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.