Usage of ListPublisher via Combine #357

Closed
opened 2025-12-29 15:29:55 +01:00 by adam · 3 comments
Owner

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?
adam added the enhancementquestion labels 2025-12-29 15:29:55 +01:00
adam closed this issue 2025-12-29 15:29:55 +01:00
Author
Owner

@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.

@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.
Author
Owner

@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 (Feb 12, 2021): Marking this issue as an `enhancement`, so no need to close it for now 👍
Author
Owner

@JohnEstropia commented on GitHub (Jul 20, 2021):

ListPublisher's Combine utilities are now available from the ListPublisher.reactive namespace

@JohnEstropia commented on GitHub (Jul 20, 2021): `ListPublisher`'s Combine utilities are now available from the `ListPublisher.reactive` namespace
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/CoreStore#357