bootstrapWorkerUi

Bootstraps the worker ui.

bootstrapWorkerUi(workerScriptUri: string, customProviders: StaticProvider[] = []): Promise<PlatformRef>

参数

workerScriptUri

Type: string.

customProviders

Type: StaticProvider[].

可选. 默认值是 [].

返回值

Promise<PlatformRef>