mirror of
https://github.com/kean/Nuke.git
synced 2024-11-28 12:04:01 +03:00
Update warnings
This commit is contained in:
parent
351be3a42e
commit
836cf75ea8
@ -44,7 +44,7 @@ public final class ImagePipeline {
|
||||
|
||||
let rateLimiter: RateLimiter?
|
||||
let id = UUID()
|
||||
#warning("TODO: remove")
|
||||
// TODO: remove
|
||||
nonisolated(unsafe) var onTaskStarted: ((ImageTask) -> Void)? // Debug purposes
|
||||
|
||||
deinit {
|
||||
|
@ -143,7 +143,7 @@ public final class ImagePrefetcher {
|
||||
return
|
||||
}
|
||||
|
||||
#warning("use async/await")
|
||||
// TODO: use async/await
|
||||
private func loadImage(task: PrefetchTask, finish: @escaping () -> Void) {
|
||||
task.imageTask = pipeline._loadImage(with: task.request, isDataTask: destination == .diskCache, progress: nil) { [weak self] _ in
|
||||
self?._remove(task)
|
||||
|
Loading…
Reference in New Issue
Block a user