Skip to content

Set of network extensions #7

@badeleux

Description

@badeleux

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions