ValueReducer
public protocol ValueReducerThe ValueReducer protocol supports ValueObservation.
- 
                  
                  The type of fetched database values DeclarationSwift associatedtype Fetched
- 
                  
                  The type of observed values DeclarationSwift associatedtype Value
- 
                  
                  Feches database values upon changes in an observed database region. 
- 
                  
                  Transforms a fetched value into an eventual observed value. Returns nil when observer should not be notified. This method runs inside a private dispatch queue. 
- 
                  compactMap(_:)Extension methodReturns a reducer which outputs the non-nil results of calling the given transformation which each element emitted by this reducer. DeclarationSwift public func compactMap<T>(_ transform: @escaping (Value) -> T?) -> ValueReducers.CompactMap<Self, T>
- 
                  map(_:)Extension methodReturns a reducer which outputs the results of calling the given transformation which each element emitted by this reducer. DeclarationSwift public func map<T>(_ transform: @escaping (Value) -> T) -> ValueReducers.Map<Self, T>
- 
                  distinctUntilChanged()Extension methodReturns a ValueReducer which filters out consecutive equal values. DeclarationSwift @available(*, deprecated, renamed: "removeDuplicates") public func distinctUntilChanged() -> ValueReducers.RemoveDuplicates<Self>
- 
                  removeDuplicates()Extension methodReturns a ValueReducer which filters out consecutive equal values. DeclarationSwift public func removeDuplicates() -> ValueReducers.RemoveDuplicates<Self>
 View on GitHub
View on GitHub Install in Dash
Install in Dash ValueReducer Protocol Reference
        ValueReducer Protocol Reference