antlion-lacewing - v2.0.1
    Preparing search index...

    Class SingleProcessReplayStore

    A replay store for one process, and for tests.

    addIfAbsent is atomic here because there is no await between its check and its write, which holds in one JavaScript process and nowhere else. Two processes with one of these each accept every proof twice. Past one process, use RedisReplayStore or PostgresReplayStore.

    Implements

    Index
    • get size(): number

      How many keys are held, expired ones included until they are swept.

      Returns number