@synerty/orb-vortexjs
Version:
Custom observable data serialisation and routing based on Angular2
16 lines (15 loc) • 594 B
TypeScript
import { PayloadDelegateABC } from "./PayloadDelegateABC";
export declare class PayloadDelegateNs extends PayloadDelegateABC {
private encodeWorker;
private decodeWorker;
private inMainDelegate;
constructor();
deflateAndEncode(payloadJson: string): Promise<string>;
decodeAndInflate(vortexStr: string): Promise<string>;
static _promises: {};
static _promisesNum: number;
static popPromise(callNumber: number): {};
static pushPromise(resolve: any, reject: any): number;
static onMessage(postResult: any): void;
static onError(error: any): void;
}