mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-26 04:07:50 +00:00
Forgot that reducer factory closure throws
This commit is contained in:
1 parent
550c016a98
commit
3dcae6d409
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -83,7 +83,7 @@ GRDB adheres to [Semantic Versioning](https://semver.org/).
|
||||
struct ValueObservation<Reducer> {
|
||||
+ static func tracking(
|
||||
+ _ regions: [DatabaseRegionConvertible],
|
||||
+ reducer: @escaping (Database) -> Reducer)
|
||||
+ reducer: @escaping (Database) throws -> Reducer)
|
||||
+ -> ValueObservation
|
||||
}
|
||||
|
||||
|
||||
@@ -243,7 +243,7 @@ extension ValueObservation {
|
||||
/// the ValueReducer protocol are supported.
|
||||
public static func tracking(
|
||||
_ regions: DatabaseRegionConvertible...,
|
||||
reducer: @escaping (Database) -> Reducer)
|
||||
reducer: @escaping (Database) throws -> Reducer)
|
||||
-> ValueObservation
|
||||
{
|
||||
return ValueObservation.tracking(regions, reducer: reducer)
|
||||
@@ -285,7 +285,7 @@ extension ValueObservation {
|
||||
/// the ValueReducer protocol are supported.
|
||||
public static func tracking(
|
||||
_ regions: [DatabaseRegionConvertible],
|
||||
reducer: @escaping (Database) -> Reducer)
|
||||
reducer: @escaping (Database) throws -> Reducer)
|
||||
-> ValueObservation
|
||||
{
|
||||
return ValueObservation(
|
||||
|
||||
Reference in new issue
Block a user