mirror of
https://github.com/angular/angular.git
synced 2026-11-23 07:05:14 -05:00
`registerWhenStable` without a `:<timeout>` does not wait for the application to stabilize. It registers the ServiceWorker immediately, so the JSDoc promising the opposite sends readers to the one form of the strategy that does not do what they want. Suggested in #71018.
@angular/service-worker
IMPORTANT: The Angular Service Worker is a basic caching utility for simple offline support with a limited featureset. We will not be accepting any new features or bug fixes other than security fixes. For more advanced caching and offline capabilities, we recommend exploring native browser APIs directly.
Implements a service worker for Angular apps.
For more information, see the @angular/service-worker API documentation.