interface GetDataRequirements
Data object that are the requirements to fetch fresh data or get cached data on device.
abstract var tag: GetDataRequirementsTag
Unique tag that drives the behavior of a OnlineRepository. The tag needs to describe (1) the type of data being stored (example: friend, friend request, song, user profile, etc) and (2) identity the fetch call to obtain this data. Example: "FriendRequests_page1" for paging, "UserProfile_user2332" for a query param. Teller uses this tag to determine how old some particular cache data is. If it's too old, new data will be fetched. |