UNPKG

hamok

Version:

Lightweight Distributed Object Storage on RAFT consensus algorithm

8 lines 242 B
export type RaftStateName = 'follower' | 'candidate' | 'leader' | 'empty'; export interface RaftState { stateName: RaftStateName; init?: () => void; run: () => void; close: () => void; } //# sourceMappingURL=RaftState.d.ts.map