WorkerAppModule

ngmodule deprecated

The ng module for the worker app side.

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

class WorkerAppModule {
}

Providers

Provider
BROWSER_SANITIZATION_PROVIDERS
{ provide: APP_ROOT, useValue: true }
Serializer
{ provide: DOCUMENT, useValue: null }
ClientMessageBrokerFactory
ServiceMessageBrokerFactory
WebWorkerRendererFactory2
{ provide: RendererFactory2, useExisting: WebWorkerRendererFactory2 }
{ provide: ON_WEB_WORKER, useValue: true }
RenderStore
{ provide: ErrorHandler, useFactory: errorHandler, deps: [] }
{ provide: MessageBus, useFactory: createMessageBus, deps: [NgZone] }
{ provide: APP_INITIALIZER, useValue: setupWebWorker, multi: true }
{ provide: ViewportScroller, useClass: NullViewportScroller, deps: [] }

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