Skip to main content
Module

x/earthstar/mod.ts>ReplicaCache#set

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

Add a new document directly to the backing replica.

Parameters

keypair: AuthorKeypair
docToSet: Omit<FormatInputType<F>, "format">
optional
format: FormatArg<F>