FetchAttachmentPublisher
struct FetchAttachmentPublisher : Publisher
A Combine publisher that fetches an attachement. Can also be used to monitor progress as a large attachment is downloaded across the network.
-
Undocumented
See moreDeclaration
Swift
public struct Progress
-
Declaration
Swift
public typealias Output = DittoAttachmentFetchEvent
-
Declaration
Swift
public typealias Failure = Never
-
Declaration
Swift
public func receive<S>(subscriber: S) where S : Subscriber, S.Failure == Never, S.Input == DittoAttachmentFetchEvent
-
A Combine publisher which produces an attachment.
Declaration
Swift
public func completed() -> AnyPublisher<DittoAttachment, Never>
Return Value
A publisher with an output of
DittoAttachment
.