Replies: 1 comment
-
Hi, I agree that ideally, there should be a way to observe the task cancellation, which is not currently the case, at least not using the public APIs. I considered updating the completion closure to include the
I would suggest adding a new |
Beta Was this translation helpful? Give feedback.
-
Because of task.onCancel being internal I cannot resume in continuation and that is why I get a continuation misuse warning produced by xcode. It also happens as loadImage in NukeExtensions does not always call its completion
Unfortunately, in our project we are unable to use LazyImageView. It seems to me that all I need is completion being called when task is cancelled
Any ideas how I can fix this problem? Thanks for your help in advance
P.S. Behaviour I want to achieve: load image into imageView automatically by NukeExtensions with given preprocessors and also await until the end of this process
Beta Was this translation helpful? Give feedback.
All reactions