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 ListPublisher to emit its current state (aka snapshot) on subscribe?
Or at least request it manually?
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 `ListPublisher` to emit its current state (aka snapshot) on subscribe?
Or at least request it manually?
@askopin ListPublisher has an addObserver method 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):
@askopin `ListPublisher` has an `addObserver` method 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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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