import { Syncer } from "https://deno.land/x/earthstar@v9.3.3/mod.ts";
A generic syncer which can be used with any kind of Transport.
Type Parameters
TransportType extends ITransport<SyncerBag>
Properties
private
coordinators: Map<string, SyncCoordinator>private
peer: PeersyncStatuses: SuperbusMap<string, Record<ShareAddress, SyncSessionStatus>>
A subscribable map containing the syncer's connections' sync statuses.
Methods
private
onCaughtUp(storageId: string, isCaughtUp: boolean)