vigiles API reference
    Preparing search index...

    Function stateFact

    • Build the read view of a stored entry. entry === null means the key has never been recorded. nowMs is passed in rather than read from the clock so the whole model stays pure and a test can pin the age exactly.

      Parameters

      Returns StateFact