Spec-Zone.ru › Angular 2

WorkerAppModule

Experimental Class

Обзор класса

class WorkerAppModule {
}

Описание класса

Модуль ng для рабочей части приложения-работника.

Аннотации

@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]
})

экспортировано из @angular/platform-webworker/index, определено в @angular/platform-webworker/src/worker_app.ts

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/api/platform-webworker/index/WorkerAppModule-class.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API