SnapshotPublisher
public struct SnapshotPublisher : Publisher
A Publisher that emits an ObjectSnapshot? whenever changes occur in the ObjectPublisher. The event emits nil if the object has been deletd.
See also
ObjectPublisher.reactive.snapshot(emitInitialValue:)-
Declaration
Swift
public typealias Output = ObjectSnapshot<O>? -
Declaration
Swift
public typealias Failure = Never -
Declaration
Swift
public func receive<S>(subscriber: S) where S : Subscriber, S.Failure == Never, S.Input == ObjectSnapshot<O>?
View on GitHub
SnapshotPublisher Structure Reference