import { SyncerManager } from "https://deno.land/x/earthstar@v10.0.0-alpha.4/src/syncer/syncer_manager.ts";
Constructors
new
SyncerManager(peer: IPeer)Properties
private
docThumbnailTreeAndLookup: Map<DocThumbnailTreeKey, [DocThumbnailTree, DocThumbnailHashToDocLookup]>DocThumbnail
private
hasher: XXH64We use this for creating doc thumbnails during tree generation.
private
plumTrees: Map<ShareAddress, PlumTree>private
syncers: Map<string, Syncer<unknown, unknown>>A map of syncer IDs to syncers
peer: IPeer
Methods
addPartner<I, F>(partner: ISyncPartner<I>, formats?: FormatsArg<F>): Syncer<I, F>
getDocThumbnailTreeAndDocLookup<F>(share: ShareAddress, formats: FormatsArg<F>): { tree: DocThumbnailTree; lookup: DocThumbnailHashToDocLookup; treeIsReady: Promise<true>; }
Create or retrieve an existing DocThumbnailTree for use with range-based reconciliation.
getPlumTree(address: ShareAddress): PlumTree