Class SessionStorageRaftLog<T>

sessionStorage-backed Raft log implementation. Survives page refreshes within the same tab, but is cleared when the tab is closed. Useful for short-lived Raft groups or testing.

Type Parameters

  • T = unknown

Hierarchy

  • StorageRaftLog<T>
    • SessionStorageRaftLog

Constructors

Properties

prefix: string
storage: Storage

Methods

  • Remove all stored data for this namespace from storage

    Returns void

  • Parameters

    • index: number

    Returns void

Generated using TypeDoc