/* * This file is part of the SDWebImage package. * (c) Olivier Poitrey <rs@dailymotion.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */#import "SDWebImageCompat.h"@classSDAsyncBlockOperation;typedefvoid(^SDAsyncBlock)(SDAsyncBlockOperation*__nonnullasyncOperation);/// A async block operation, success after you call `completer` (not like `NSBlockOperation` which is for sync block, success on return)@interfaceSDAsyncBlockOperation:NSOperation-(nonnullinstancetype)initWithBlock:(nonnullSDAsyncBlock)block;+(nonnullinstancetype)blockOperationWithBlock:(nonnullSDAsyncBlock)block;-(void)complete;@end