bootstrapWorkerUi

Bootstraps the worker ui.

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

可选. 默认值是 [].

返回值

Promise<PlatformRef>