feat(platform-webworker): renderer v2 integration

This commit is contained in:
Victor Berchet
2017-02-16 22:36:21 -08:00
parent f38dbfbd64
commit 3517f28609
23 changed files with 784 additions and 218 deletions

View File

@ -13,9 +13,9 @@ export declare abstract class ClientMessageBrokerFactory {
/** @experimental */
export declare class FnArg {
type: Type<any>;
type: Type<any> | SerializerTypes;
value: any;
constructor(value: any, type: Type<any>);
constructor(value: any, type?: Type<any> | SerializerTypes);
}
/** @experimental */
@ -60,6 +60,11 @@ export declare class ReceivedMessage {
});
}
/** @experimental */
export declare const enum SerializerTypes {
RENDERER_TYPE_V2 = 0,
}
/** @experimental */
export declare abstract class ServiceMessageBroker {
abstract registerMethod(methodName: string, signature: Type<any>[], method: Function, returnType?: Type<any>): void;