Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/earthstar/mod.ts>ReplicaCache#getAllDocs

Storage for private, distributed, offline-first applications.
Go to Latest
method ReplicaCache.prototype.getAllDocs
import { ReplicaCache } from "https://deno.land/x/earthstar@v10.0.1/mod.ts";

Fetch all versions of all docs from the cache. Returns an empty array in case of a cache miss, and queries the backing replica.

Parameters

optional
formats: FormatsArg<F>