WorkerAppModule
ngmodule
The ng module for the worker app side.
class WorkerAppModule { }
Providers
Provider |
---|
BROWSER_SANITIZATION_PROVIDERS |
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–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v7.angular.io/api/platform-webworker/WorkerAppModule