-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow passing a custom completion queue to ImageDownloader (#162)
### Summary Allow passing a custom operation queue to `ImageDownloader` to be used when calling the completion callback. ### Implementation - Add `completionQueue` parameter to initializer (defaults to `nil`) - If no value is passed, `ImageDownloader` will behave as before, defaulting to the current operation queue for completion, or main if there is no current queue. - When a queue is specified, it will be used instead.
- Loading branch information
Showing
2 changed files
with
55 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters