SingleDocumentLiveQueryPublisher
struct SingleDocumentLiveQueryPublisher : Publisher
A Combine publisher that produces a document matching the requested ID, if it can be found.
-
Declaration
Swift
public typealias Output = Snapshot
-
Declaration
Swift
public typealias Failure = Never
-
Declaration
Swift
public func receive<S>(subscriber: S) where S : Subscriber, S.Failure == Never, S.Input == (document: DittoDocument?, event: DittoSingleDocumentLiveQueryEvent)