-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
I'm planning to build set of extensions for RAC which will make building network requests easier. I want to create layer for caching, retrying, updating . I haven't thought about architecture cause firstly I'd like to ask whether this idea is worth doing whether it doesn't abuse FRP, and it's possible to do cause I'm kinda surprised there is no such a thing yet.
let racCache = ArchiverCache()
let fetchCriticalData = Alamofire...
fetchCriticalData.updateOn(didEnterForeground).cache(racCache, policy: CacheFallbackRemote).retryOn(retryButtonTapped)