docs: update platform-webworker to use `@publicApi` tags (#26595)
PR Close #26595
This commit is contained in:
parent
7570f7222f
commit
c1724062f1
|
@ -1,4 +1,3 @@
|
||||||
/** @experimental */
|
|
||||||
export declare const platformWorkerAppDynamic: (extraProviders?: StaticProvider[] | undefined) => PlatformRef;
|
export declare const platformWorkerAppDynamic: (extraProviders?: StaticProvider[] | undefined) => PlatformRef;
|
||||||
|
|
||||||
export declare const VERSION: Version;
|
export declare const VERSION: Version;
|
||||||
|
|
|
@ -1,24 +1,19 @@
|
||||||
/** @experimental */
|
|
||||||
export declare function bootstrapWorkerUi(workerScriptUri: string, customProviders?: StaticProvider[]): Promise<PlatformRef>;
|
export declare function bootstrapWorkerUi(workerScriptUri: string, customProviders?: StaticProvider[]): Promise<PlatformRef>;
|
||||||
|
|
||||||
/** @experimental */
|
|
||||||
export declare class ClientMessageBroker {
|
export declare class ClientMessageBroker {
|
||||||
runOnService(args: UiArguments, returnType: Type<any> | SerializerTypes | null): Promise<any> | null;
|
runOnService(args: UiArguments, returnType: Type<any> | SerializerTypes | null): Promise<any> | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @experimental */
|
|
||||||
export declare class ClientMessageBrokerFactory {
|
export declare class ClientMessageBrokerFactory {
|
||||||
createMessageBroker(channel: string, runInZone?: boolean): ClientMessageBroker;
|
createMessageBroker(channel: string, runInZone?: boolean): ClientMessageBroker;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @experimental */
|
|
||||||
export declare class FnArg {
|
export declare class FnArg {
|
||||||
type: Type<any> | SerializerTypes;
|
type: Type<any> | SerializerTypes;
|
||||||
value: any;
|
value: any;
|
||||||
constructor(value: any, type?: Type<any> | SerializerTypes);
|
constructor(value: any, type?: Type<any> | SerializerTypes);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @experimental */
|
|
||||||
export declare abstract class MessageBus implements MessageBusSource, MessageBusSink {
|
export declare abstract class MessageBus implements MessageBusSource, MessageBusSink {
|
||||||
abstract attachToZone(zone: NgZone): void;
|
abstract attachToZone(zone: NgZone): void;
|
||||||
abstract from(channel: string): EventEmitter<any>;
|
abstract from(channel: string): EventEmitter<any>;
|
||||||
|
@ -26,27 +21,22 @@ export declare abstract class MessageBus implements MessageBusSource, MessageBus
|
||||||
abstract to(channel: string): EventEmitter<any>;
|
abstract to(channel: string): EventEmitter<any>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @experimental */
|
|
||||||
export interface MessageBusSink {
|
export interface MessageBusSink {
|
||||||
attachToZone(zone: NgZone): void;
|
attachToZone(zone: NgZone): void;
|
||||||
initChannel(channel: string, runInZone: boolean): void;
|
initChannel(channel: string, runInZone: boolean): void;
|
||||||
to(channel: string): EventEmitter<any>;
|
to(channel: string): EventEmitter<any>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @experimental */
|
|
||||||
export interface MessageBusSource {
|
export interface MessageBusSource {
|
||||||
attachToZone(zone: NgZone): void;
|
attachToZone(zone: NgZone): void;
|
||||||
from(channel: string): EventEmitter<any>;
|
from(channel: string): EventEmitter<any>;
|
||||||
initChannel(channel: string, runInZone: boolean): void;
|
initChannel(channel: string, runInZone: boolean): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @experimental */
|
|
||||||
export declare const platformWorkerApp: (extraProviders?: StaticProvider[] | undefined) => PlatformRef;
|
export declare const platformWorkerApp: (extraProviders?: StaticProvider[] | undefined) => PlatformRef;
|
||||||
|
|
||||||
/** @experimental */
|
|
||||||
export declare const platformWorkerUi: (extraProviders?: StaticProvider[] | undefined) => PlatformRef;
|
export declare const platformWorkerUi: (extraProviders?: StaticProvider[] | undefined) => PlatformRef;
|
||||||
|
|
||||||
/** @experimental */
|
|
||||||
export interface ReceivedMessage {
|
export interface ReceivedMessage {
|
||||||
args: any[];
|
args: any[];
|
||||||
id: string;
|
id: string;
|
||||||
|
@ -54,24 +44,20 @@ export interface ReceivedMessage {
|
||||||
type: string;
|
type: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @experimental */
|
|
||||||
export declare const enum SerializerTypes {
|
export declare const enum SerializerTypes {
|
||||||
RENDERER_TYPE_2 = 0,
|
RENDERER_TYPE_2 = 0,
|
||||||
PRIMITIVE = 1,
|
PRIMITIVE = 1,
|
||||||
RENDER_STORE_OBJECT = 2
|
RENDER_STORE_OBJECT = 2
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @experimental */
|
|
||||||
export declare class ServiceMessageBroker {
|
export declare class ServiceMessageBroker {
|
||||||
registerMethod(methodName: string, signature: Array<Type<any> | SerializerTypes> | null, method: (..._: any[]) => Promise<any> | void, returnType?: Type<any> | SerializerTypes): void;
|
registerMethod(methodName: string, signature: Array<Type<any> | SerializerTypes> | null, method: (..._: any[]) => Promise<any> | void, returnType?: Type<any> | SerializerTypes): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @experimental */
|
|
||||||
export declare class ServiceMessageBrokerFactory {
|
export declare class ServiceMessageBrokerFactory {
|
||||||
createMessageBroker(channel: string, runInZone?: boolean): ServiceMessageBroker;
|
createMessageBroker(channel: string, runInZone?: boolean): ServiceMessageBroker;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @experimental */
|
|
||||||
export declare class UiArguments {
|
export declare class UiArguments {
|
||||||
args?: FnArg[] | undefined;
|
args?: FnArg[] | undefined;
|
||||||
method: string;
|
method: string;
|
||||||
|
@ -80,7 +66,6 @@ export declare class UiArguments {
|
||||||
|
|
||||||
export declare const VERSION: Version;
|
export declare const VERSION: Version;
|
||||||
|
|
||||||
/** @experimental */
|
|
||||||
export declare const WORKER_APP_LOCATION_PROVIDERS: ({
|
export declare const WORKER_APP_LOCATION_PROVIDERS: ({
|
||||||
provide: typeof PlatformLocation;
|
provide: typeof PlatformLocation;
|
||||||
useClass: typeof WebWorkerPlatformLocation;
|
useClass: typeof WebWorkerPlatformLocation;
|
||||||
|
@ -101,9 +86,7 @@ export declare const WORKER_APP_LOCATION_PROVIDERS: ({
|
||||||
multi?: undefined;
|
multi?: undefined;
|
||||||
})[];
|
})[];
|
||||||
|
|
||||||
/** @experimental */
|
|
||||||
export declare const WORKER_UI_LOCATION_PROVIDERS: StaticProvider[];
|
export declare const WORKER_UI_LOCATION_PROVIDERS: StaticProvider[];
|
||||||
|
|
||||||
/** @experimental */
|
|
||||||
export declare class WorkerAppModule {
|
export declare class WorkerAppModule {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue