@angular/platform-webworker

入口点

主要

@angular/platform-webworker

主入口点的导出

模块

WorkerAppModule

The ng module for the worker app side.

FnArg
MessageBus

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

函数

bootstrapWorkerUi

Bootstraps the worker ui.

结构

ClientMessageBroker
ClientMessageBrokerFactory
MessageBusSink
MessageBusSource
ReceivedMessage
SerializerTypes
ServiceMessageBroker

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

类型

WORKER_APP_LOCATION_PROVIDERS

The PlatformLocationproviders that should be added when the Locationis used in a worker context.

WORKER_UI_LOCATION_PROVIDERS

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
platformWorkerUi