Anchorage API reference
    Preparing search index...

    Dev/test store — per-isolate fixed windows, replaced on rollover.

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Atomically count one call against the connector's current fixed window and return the post-increment count. now is caller-supplied epoch ms so stores stay clock-free.

      Parameters

      • key: string
      • windowMs: number
      • now: number

      Returns number