AsyncCompatibilityKit
AsyncCompatibilityKit copied to clipboard
Download
Add download tasks
- Note, though, that unlike the data task, I made the method name distinct (using
withrather thanfor/from). - Should the data task also use unique names rather than counterfeiting the iOS 15 method names?
- This uses the
actorpattern referenced in my other pull request. - If you approve of this pull request, I'm happy to do an upload task rendition, too.
@JohnSundell Would it be possible for you to accept this merge? It'd be great to have this addition. Or is there a reason it has not been added yet? @robertmryan Thanks.
Actually, the only thing missing here is that you've not marked your new extension as public, leaving it inaccessible.