mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-11 20:00:30 +01:00
Usage of ListPublisher via Combine #357
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @askopin on GitHub (Feb 11, 2021).
Hi, I'm trying to subscribe on list updates using Combine (without swiftUI) and have some trouble:
Is there any way to force
ListPublisherto emit its current state (aka snapshot) on subscribe?Or at least request it manually?
@JohnEstropia commented on GitHub (Feb 12, 2021):
@askopin
ListPublisherhas anaddObservermethod that you can use to emit publisher events.I'm currently working on Combine utilities for CoreStore, but I can't make any promises on the release date for that so please write your own Publishers for now.
@JohnEstropia commented on GitHub (Feb 12, 2021):
Marking this issue as an
enhancement, so no need to close it for now 👍@JohnEstropia commented on GitHub (Jul 20, 2021):
ListPublisher's Combine utilities are now available from theListPublisher.reactivenamespace