UNPKG

hamok

Version:

Lightweight Distributed Object Storage on RAFT consensus algorithm

30 lines 679 B
export type HamokRecordSnapshot = { recordId: string; keys: Uint8Array[]; values: Uint8Array[]; }; export type HamokMapSnapshot = { mapId: string; keys: string[]; values: string[]; }; export type HamokRemoteMapSnapshot = { mapId: string; appliedCommitIndex: number; }; export type HamokQueueSnapshot = { queueId: string; keys: string[]; values: string[]; }; export type HamokEmitterSnapshot = { emitterId: string; subscriptions: { event: string; subscribers: { peerId: string; metaData: Record<string, unknown> | null; }[]; }[]; }; //# sourceMappingURL=HamokSnapshot.d.ts.map