rmapi-js
    Preparing search index...

    Class MemoryState

    a StateStore in memory, gone when the process is; for tests

    Implements

    Index
    • adds the records after those held

      Parameters

      • records: Uint8Array<ArrayBufferLike>[]

      Returns Promise<void>

    • replaces everything held with this snapshot and no records

      Parameters

      • snapshot: Uint8Array

      Returns Promise<void>