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

    Interface FrameStore

    interface FrameStore {
        delete(hash: string): Promise<void>;
        get(hash: string): Promise<Uint8Array<ArrayBufferLike> | null>;
        has(hashes: readonly string[]): Promise<Set<string>>;
        put(hash: string, bytes: Uint8Array): Promise<void>;
    }
    Index
    • Parameters

      • hash: string

      Returns Promise<Uint8Array<ArrayBufferLike> | null>

    • one call for many hashes; asking one at a time spends the budget dedup exists to save

      Parameters

      • hashes: readonly string[]

      Returns Promise<Set<string>>

    • Parameters

      • hash: string
      • bytes: Uint8Array

      Returns Promise<void>