Replies: 1 comment
-
That sounds like an interesting approach! If you're trying to manage the DownloadTask behavior more flexibly, have you considered creating a custom wrapper or using an extension to handle cancellations in a way that works for your needs? As for the DownloadTask being a struct, making it a protocol would indeed provide more flexibility for customization. On a related note, if you're working on date-based tasks, an implantation date calculator might help with precise time management in your solution. Good luck with the implementation! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! I'm trying to write my own network layer for kingfisher using pure curl, overriding of ImageDownloader downloadImage methods. Also i need to cancel DownloadTask on my own way, but can't override it, because DownloadTask is structure. It would be nice if DownoadTask became protocol
Beta Was this translation helpful? Give feedback.
All reactions