W3cubDocs

/Angular

@angular/platform-webworker

package

Entry points

Primary

@angular/platform-webworker

Primary entry point exports

NgModules

WorkerAppModule

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

The ng module for the worker app side.

Classes

FnArg
MessageBus

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

Message Bus is a low level API used to communicate between the UI and the background. Communication is based on a channel abstraction. Messages published in a given channel to one MessageBusSink are received on the same channel by the corresponding MessageBusSource.

UiArguments

Functions

bootstrapWorkerUi

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

Bootstraps the worker ui.

Structures

ClientMessageBroker

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

ClientMessageBrokerFactory

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

MessageBusSink
MessageBusSource
ReceivedMessage

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

SerializerTypes

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

ServiceMessageBroker

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

Helper class for UIComponents that allows components to register methods. If a registered method message is received from the broker on the worker, the UIMessageBroker deserializes its arguments and calls the registered method. If that method returns a promise, the UIMessageBroker returns the result to the worker.

ServiceMessageBrokerFactory

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

Types

WORKER_APP_LOCATION_PROVIDERS

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

The PlatformLocation providers that should be added when the Location is used in a worker context.

WORKER_UI_LOCATION_PROVIDERS

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

A list of Providers. To use the router in a Worker enabled application you must include these providers when setting up the render thread.

platformWorkerApp

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

platformWorkerUi

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