WorkerAppModule

Experimental Class

Class Overview

class WorkerAppModule {
}

Class Description

The ng module for the worker app side.

Annotations

@NgModule({
  providers: [
    BROWSER_SANITIZATION_PROVIDERS, Serializer,
    {provide: ClientMessageBrokerFactory, useClass: ClientMessageBrokerFactory_},
    {provide: ServiceMessageBrokerFactory, useClass: ServiceMessageBrokerFactory_},
    WebWorkerRootRenderer, {provide: RootRenderer, useExisting: WebWorkerRootRenderer},
    {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}
  ],
  exports: [CommonModule, ApplicationModule]
})

exported from @angular/platform-webworker/index, defined in @angular/platform-webworker/src/worker_app.ts

doc_Angular
2016-10-06 09:47:13
Comments
Leave a Comment

Please login to continue.