docs(webworker): add/correct experimental markers to web worker apis
This commit is contained in:
parent
39e0b4903c
commit
26676c4833
|
@ -110,6 +110,9 @@ export function bootstrap(
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @experimental
|
||||||
|
*/
|
||||||
export function bootstrapWorkerUi(
|
export function bootstrapWorkerUi(
|
||||||
workerScriptUri: string,
|
workerScriptUri: string,
|
||||||
customProviders?: Array<any /*Type | Provider | any[]*/>): Promise<ApplicationRef> {
|
customProviders?: Array<any /*Type | Provider | any[]*/>): Promise<ApplicationRef> {
|
||||||
|
@ -127,6 +130,9 @@ export function bootstrapWorkerUi(
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @experimental
|
||||||
|
*/
|
||||||
const WORKER_APP_COMPILER_PROVIDERS: Array<any /*Type | Provider | any[]*/> = [
|
const WORKER_APP_COMPILER_PROVIDERS: Array<any /*Type | Provider | any[]*/> = [
|
||||||
COMPILER_PROVIDERS, {
|
COMPILER_PROVIDERS, {
|
||||||
provide: CompilerConfig,
|
provide: CompilerConfig,
|
||||||
|
@ -141,6 +147,9 @@ const WORKER_APP_COMPILER_PROVIDERS: Array<any /*Type | Provider | any[]*/> = [
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @experimental
|
||||||
|
*/
|
||||||
export function bootstrapWorkerApp(
|
export function bootstrapWorkerApp(
|
||||||
appComponentType: Type,
|
appComponentType: Type,
|
||||||
customProviders?: Array<any /*Type | Provider | any[]*/>): Promise<ComponentRef<any>> {
|
customProviders?: Array<any /*Type | Provider | any[]*/>): Promise<ComponentRef<any>> {
|
||||||
|
|
|
@ -59,7 +59,7 @@ export const WORKER_UI_STARTABLE_MESSAGING_SERVICE =
|
||||||
new OpaqueToken('WorkerRenderStartableMsgService');
|
new OpaqueToken('WorkerRenderStartableMsgService');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* * @experimental
|
* @experimental
|
||||||
*/
|
*/
|
||||||
export const WORKER_UI_PLATFORM_PROVIDERS: Array<any /*Type | Provider | any[]*/> = [
|
export const WORKER_UI_PLATFORM_PROVIDERS: Array<any /*Type | Provider | any[]*/> = [
|
||||||
PLATFORM_COMMON_PROVIDERS, {provide: WORKER_RENDER_PLATFORM_MARKER, useValue: true},
|
PLATFORM_COMMON_PROVIDERS, {provide: WORKER_RENDER_PLATFORM_MARKER, useValue: true},
|
||||||
|
@ -67,7 +67,7 @@ export const WORKER_UI_PLATFORM_PROVIDERS: Array<any /*Type | Provider | any[]*/
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* * @experimental
|
* @experimental
|
||||||
*/
|
*/
|
||||||
export const WORKER_UI_APPLICATION_PROVIDERS: Array<any /*Type | Provider | any[]*/> = [
|
export const WORKER_UI_APPLICATION_PROVIDERS: Array<any /*Type | Provider | any[]*/> = [
|
||||||
APPLICATION_COMMON_PROVIDERS,
|
APPLICATION_COMMON_PROVIDERS,
|
||||||
|
@ -120,7 +120,7 @@ function initWebWorkerRenderPlatform(): void {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* * @experimental
|
* @experimental
|
||||||
*/
|
*/
|
||||||
export function workerUiPlatform(): PlatformRef {
|
export function workerUiPlatform(): PlatformRef {
|
||||||
if (isBlank(getPlatform())) {
|
if (isBlank(getPlatform())) {
|
||||||
|
|
Loading…
Reference in New Issue