Raft Consensus Algorithm
    Preparing search index...

    Interface ApplicationStateMachine

    interface ApplicationStateMachine {
        apply(command: Command): Promise<any>;
        getState(): any;
        installSnapshot(data: Buffer): Promise<void>;
        takeSnapshot(): Promise<Buffer<ArrayBufferLike>>;
    }
    Index

    Methods