@berish/rfp
Version:
Binary secure transport organization protocol for peer communication using function fingerprints
21 lines • 620 B
TypeScript
export declare type PeerResponseStatusType = 'resolve' | 'reject' | 'initial';
export interface PeerChunkId {
chunkId?: string;
}
export interface PeerChunkBody<Body> {
readonly path: string;
readonly body?: Body;
notWaiting?: boolean;
status?: PeerResponseStatusType;
}
export interface PeerChunkBlockForce {
isBlocker?: boolean;
isForce?: boolean;
}
export interface PeerChunkAside {
aside?: {
[key: string]: any;
};
}
export declare type PeerChunk<Body> = PeerChunkId & PeerChunkBody<Body> & PeerChunkBlockForce & PeerChunkAside;
//# sourceMappingURL=peerChunkType.d.ts.map