DittoAttachmentFetcher
public class DittoAttachmentFetcher
extension DittoAttachmentFetcher: Hashable
extension DittoAttachmentFetcher: Equatable
These objects are returned by calls to fetchAttachment
on ditto.store
.
-
Stops fetching the fetcher’s associated attachment and cleans up any associated resources.
Note that you are not required to call
stop
once your attachment fetch operation has finished. The method primarily exists to allow you to cancel an attachment fetch request while it is ongoing if you no longer wish for the attachment to be made available locally to the device.Declaration
Swift
public func stop()
-
Declaration
Swift
public func hash(into hasher: inout Hasher)
-
Declaration
Swift
public static func == (left: DittoAttachmentFetcher, right: DittoAttachmentFetcher) -> Bool