mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-12-03 05:34:00 +01:00
Support typed errors. Misc formatting
This commit is contained in:
1 parent
c9e091a6a4
commit
5dcf29011a
74 files changed
+3987
-1441
No files matched your search
@@ -95,8 +95,10 @@ extension ListPublisher.ReactiveNamespace {
|
||||
- parameter emitInitialValue: If `true`, the current value is immediately emitted to the first subscriber. If `false`, the event fires only starting the next `ListSnapshot` update.
|
||||
- returns: A `Publisher` that emits a `ListSnapshot` whenever changes occur in the `ListPublisher`.
|
||||
*/
|
||||
public func snapshot(emitInitialValue: Bool = true) -> ListPublisher.SnapshotPublisher {
|
||||
|
||||
public func snapshot(
|
||||
emitInitialValue: Bool = true
|
||||
) -> ListPublisher.SnapshotPublisher {
|
||||
|
||||
return .init(
|
||||
listPublisher: self.base,
|
||||
emitInitialValue: emitInitialValue
|
||||
|
||||
Reference in new issue
Block a user