import { Peer } from "https://deno.land/x/earthstar@v10.0.0/mod.browser.ts";
Fires a given callback whenever the Peer's store of replicas changes.
Parameters
callback: (map: Map<ShareAddress, Replica>) => void | Promise<void>
x/earthstar/mod.browser.ts>Peer#onReplicasChange
import { Peer } from "https://deno.land/x/earthstar@v10.0.0/mod.browser.ts";
Fires a given callback whenever the Peer's store of replicas changes.