drupflare/worker - v1.0.4
    Preparing search index...

    Function fenceAllows

    • The generation fence: whether a replica's view is fresh enough to answer.

      A replica may serve generation G only if its view is valid through G; behind by any amount refuses. It relies on the generation advancing on every change that matters (tests/integration/generation-fence.spec.ts); an unbumped mutation is invisible to it.

      Parameters

      • appliedGeneration: number
      • requiredGeneration: number

      Returns boolean