docs(platform-webworker): remove mention of version 10 (#37052)
The deprecation notice for platform-webworker APIs is too prescriptive and notes that we will remove the package in version 10. Since we are not planning to do this for version 10, this commit updates the notice to read "a future version of Angular". PR Close #37052
This commit is contained in:

committed by
Misko Hevery

parent
2cddeabce0
commit
d7c70caa4c
@ -26,7 +26,8 @@ import {MessageBasedRenderer2} from './web_workers/ui/renderer';
|
||||
* and underlying {@link MessageBus} for lower level message passing.
|
||||
*
|
||||
* @publicApi
|
||||
* @deprecated platform-webworker is deprecated in Angular and will be removed in version 10
|
||||
* @deprecated platform-webworker is deprecated in Angular and will be removed in a future version
|
||||
* of Angular
|
||||
*/
|
||||
@Injectable()
|
||||
export class WebWorkerInstance {
|
||||
@ -44,7 +45,8 @@ export class WebWorkerInstance {
|
||||
|
||||
/**
|
||||
* @publicApi
|
||||
* @deprecated platform-webworker is deprecated in Angular and will be removed in version 10
|
||||
* @deprecated platform-webworker is deprecated in Angular and will be removed in a future version
|
||||
* of Angular
|
||||
*/
|
||||
export const WORKER_SCRIPT = new InjectionToken<string>('WebWorkerScript');
|
||||
|
||||
@ -53,7 +55,8 @@ export const WORKER_SCRIPT = new InjectionToken<string>('WebWorkerScript');
|
||||
* created.
|
||||
*
|
||||
* @publicApi
|
||||
* @deprecated platform-webworker is deprecated in Angular and will be removed in version 10
|
||||
* @deprecated platform-webworker is deprecated in Angular and will be removed in a future version
|
||||
* of Angular
|
||||
*/
|
||||
export const WORKER_UI_STARTABLE_MESSAGING_SERVICE =
|
||||
new InjectionToken<({start: () => void})[]>('WorkerRenderStartableMsgService');
|
||||
@ -154,7 +157,8 @@ function initWebWorkerRenderPlatform(injector: Injector): () => void {
|
||||
|
||||
/**
|
||||
* @publicApi
|
||||
* @deprecated platform-webworker is deprecated in Angular and will be removed in version 10
|
||||
* @deprecated platform-webworker is deprecated in Angular and will be removed in a future version
|
||||
* of Angular
|
||||
*/
|
||||
export const platformWorkerUi =
|
||||
createPlatformFactory(platformCore, 'workerUi', _WORKER_UI_PLATFORM_PROVIDERS);
|
||||
|
Reference in New Issue
Block a user