Skip to content

Commit

Permalink
deprecate the use of completion queue for now
Browse files Browse the repository at this point in the history
  • Loading branch information
norsez committed Jul 4, 2012
1 parent 8f6e2bd commit f3eae54
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Classes/BDMultiDownloader.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,11 @@
- (void) dequeueWithPath:(NSString*)path;

#pragma mark - block based delegators, they are all optional (can be nil)
//the queue which completion block is executed in. If NULL, execute in main queue.
@property (nonatomic) dispatch_queue_t completionQueue;
/**
the queue which completion block is executed in. If NULL, execute in main queue.
@deprecated user should manage the completion queue on their own for now.
*/
@property (nonatomic) dispatch_queue_t completionQueue __deprecated;
//block called when encountered error
@property (nonatomic, copy) void (^onNetworkError)(NSError*);
//block called to indicates network activity. YES when there's network activity from this class. No otherwise. This can be used to toggle iOS's network status indicator.
Expand Down

0 comments on commit f3eae54

Please sign in to comment.