@drupflare/workforce - v0.3.0
    Preparing search index...

    Class RevisionStore

    Index
    • the revision a plane version id came from, or null when workforce did not make it

      Parameters

      • worker: string
      • versionId: string

      Returns Promise<Revision | null>

    • every frame hash any surviving revision still names

      Parameters

      • worker: string

      Returns Promise<Set<string>>

    • Rebuilds the module set a revision recorded.

      Refuses on a missing frame rather than returning a partial bundle: half a Worker that deploys is worse than a refusal that names what is gone.

      Parameters

      • worker: string
      • id: string

      Returns Promise<ModuleSet>

    • Frames, compresses and writes what is not already held.

      Presence is asked once for every frame rather than once per frame, because dedup exists to skip writes, and a round trip each would spend what it saved.

      Parameters

      Returns Promise<{ reused: number; revision: Revision; wrote: number }>