import { MultiformatReplica } from "https://deno.land/x/earthstar@v10.0.1/mod.ts";
Provide a callback to be triggered every time a replica event occurs.
Parameters
callback: (event: ReplicaEvent<DocBase<FormatName>>) => void | Promise<void>
import { MultiformatReplica } from "https://deno.land/x/earthstar@v10.0.1/mod.ts";
Provide a callback to be triggered every time a replica event occurs.