Replies: 1 comment
-
|
Hi @esnssr, there are two ways to observe changes in the library. Using the class ViewController: UIViewController {
@FetchAll var reminders: [Reminder]
func viewDidLoad() {
observe { [weak self] in
guard let self else { return }
reloadDataSource(reminders)
}
}
}Do you actually need an async sequence for what you are doing? Or can you use one of the above tools? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Maybe i haven't researched or read the documentation thoroughly (i did try to find the answer), but does the library have support for asynchronous observation with Swift Modern Concurrency and AsyncSequence?
i know it has combine support, but i am hesitant to use the .values on publisher property as i have had some issues with it in the past.
p.s. thank you for this amazing library, i am starting a new project and this is the backbone of it! 🫶🏻
Beta Was this translation helpful? Give feedback.
All reactions