Ancestors

Toot

Written by Nick Kohrn on 2024-02-10 at 18:19

@harshil Did you implement HKObserverQuery with TCA to get background updates? If so, did you use any references to figure out how to use that closure-based query with TCA? I'm feeling a bit dumb today.

=> More informations about this toot | More toots from nickkohrn@techhub.social

Descendants

Written by Harshil Shah :psyduck: on 2024-02-11 at 01:18

@nickkohrn Yes and no! So I do use HKObserverQuery, but only at the AppDelegate level and to update widgets. Within the app I just update when things appear, the app is foregrounded, etc.

=> More informations about this toot | More toots from harshil@mastodon.social

Written by Nick Kohrn on 2024-02-11 at 02:04

@harshil Ah, that makes sense! I am trying to use an AsyncThrowingStream in my AppDelegateReducer, but I'm not seeing the updates happen. Time to debug! Thanks for helping me realize I'm on the right path.

=> More informations about this toot | More toots from nickkohrn@techhub.social

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/111908565569016651
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
230.201997 milliseconds
Gemini-to-HTML Time
1.158808 milliseconds

This content has been proxied by September (ba2dc).