import { AttachmentTransfer } from "https://deno.land/x/earthstar@v10.0.0-alpha.4/src/syncer/attachment_transfer.ts";
Constructors
new
AttachmentTransfer(unnamed 0: AttachmentTransferOpts<F>)Properties
private
multiDeferred: MultiDeferredprivate
sourceDoc: DocBase<string>private
statusBus: BlockingBus<AttachmentTransferProgressEvent>readonly
doc: DocBase<string>status: AttachmentTransferStatus
Methods
private
changeStatus(status: AttachmentTransferStatus)private
updateLoaded(toAdd: number)abort()
isDone()
onProgress(callback: (event: AttachmentTransferProgressEvent) => void): () => void
start()