node-apparatus
Version:
A mix of common components needed for awesome node experience
12 lines (11 loc) • 365 B
TypeScript
export interface IProxyMethod {
workerId: number;
invocationId: number;
methodName: string;
methodArguments: any[];
returnValue: any;
error?: string;
}
export declare const DisposeMethodPayload: IProxyMethod;
export declare function deserialize(payload: Buffer): IProxyMethod;
export declare function serialize(input: IProxyMethod): Buffer;