W3cubDocs

/Angular

WORKER_APP_LOCATION_PROVIDERS

const deprecated

The PlatformLocation providers that should be added when the Location is used in a worker context.

Deprecated: platform-webworker is deprecated in Angular and will be removed in version 10

const WORKER_APP_LOCATION_PROVIDERS: ({ provide: typeof PlatformLocation; useClass: typeof WebWorkerPlatformLocation; useFactory?: undefined; multi?: undefined; deps?: undefined; } | { provide: InjectionToken<(() => void)[]>; useFactory: (platformLocation: WebWorkerPlatformLocation, zone: NgZone) => () => Promise<...>; multi: boolean; deps: (typeof Pla...;

© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/platform-webworker/WORKER_APP_LOCATION_PROVIDERS