mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-28 04:24:20 +00:00
Fix typo
This commit is contained in:
1 parent
d73228a812
commit
909afc0233
1 file changed
+2
-2
@@ -6215,8 +6215,8 @@ let sharedObservation = ValueObservation
|
||||
> :point_up: **Note**: `ValueObservation` and `SharedValueObservation` are nearly identical, but there are a few differences you should be aware of:
|
||||
>
|
||||
> - `SharedValueObservation` has no [operator](#valueobservation-operators) such as `map`. As a replacement, you may use Combine apis:
|
||||
>
|
||||
> `swift`
|
||||
>
|
||||
> ```swift
|
||||
> let sharedObservation = ValueObservation.tracking { ... }.shared(in: dbQueue)
|
||||
> let cancellable = try sharedObservation
|
||||
> .publisher() // Turn shared observation into a Combine Publisher
|
||||
|
||||
Reference in new issue
Block a user