@gmitch215/folio - v1.0.1
    Preparing search index...

    Interface PageOwner

    Transport boundary for immutable pages. Reads return independent copies. Staging is idempotent for identical versions and bytes; discarding fences that version against delayed stage requests. Implementations must authenticate the scope and enforce their own storage, request and deadline limits. A never-settling request retains its directory locks; expiry cannot cancel an RPC.

    interface PageOwner {
        id: string;
        discard(scope: PageScope, version: PageVersion): Promise<void>;
        read(
            scope: PageScope,
            version: PageVersion,
        ): Promise<Uint8Array<ArrayBufferLike>>;
        stage(
            scope: PageScope,
            version: PageVersion,
            bytes: Uint8Array,
        ): Promise<void>;
    }

    Implemented by

    Index
    id: string