From f7119781452e120df95af094572bb7ae9d45347e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Wed, 25 Mar 2020 08:25:05 +0100 Subject: [PATCH] Documentation --- GRDB/ValueObservation/ValueReducer/ValueReducer.swift | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/GRDB/ValueObservation/ValueReducer/ValueReducer.swift b/GRDB/ValueObservation/ValueReducer/ValueReducer.swift index 20c1d3ce2..db6bfe173 100644 --- a/GRDB/ValueObservation/ValueReducer/ValueReducer.swift +++ b/GRDB/ValueObservation/ValueReducer/ValueReducer.swift @@ -8,13 +8,10 @@ public protocol _ValueReducer { /// The type of observed values associatedtype Value - /// If true, reducer wants to record the selected region. - /// - /// _ValueReducer semantics require that this property does not depend on - /// the state of the reducer. + /// Returns whether the database region selected by the fetch(_:) method + /// is constant. var isObservedRegionDeterministic: Bool { get } - // TODO: rename fetch(_ db: Database, recording selectedRegion: inout DatabaseRegion) throws -> Fetched /// Fetches database values upon changes in an observed database region. /// /// _ValueReducer semantics require that this method does not depend on