UNPKG

hamok

Version:

Lightweight Distributed Object Storage on RAFT consensus algorithm

8 lines 328 B
import { RaftEngine } from './RaftEngine'; import { RaftState } from './RaftState'; export type RaftCandidateStateContext = { raftEngine: RaftEngine; electionTerm: number; }; export declare function createRaftCandidateState(context: RaftCandidateStateContext): RaftState; //# sourceMappingURL=RaftCandidateState.d.ts.map