Make "Service" actor smarter
Opened this issue · 1 comments
schwa commented
We shouldn't be accessing MastodonAPI for most stuff. The Service
actor should have easy to use APIs that let you fetch data…
- Cache all objects (Statuses, Accounts, Relationships being the core objects). Store them in
Storage
object. - Fetch objects if not in cache (storing individual objects and pages of objects if using a paging api).
- Provide
didChange
mechanism (Swift Async Algorithm channels) so that UI can handle changes automatically.
schwa commented
We have this partially working for timelines and relationships.