mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Add error handler to ASNetworkImageNodeDelegate
This commit is contained in:
@@ -95,6 +95,16 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@optional
|
||||
|
||||
/**
|
||||
* Notification that the image node failed to download the image.
|
||||
*
|
||||
* @param imageNode The sender.
|
||||
* @param error The error with details.
|
||||
*
|
||||
* @discussion Called on a background queue.
|
||||
*/
|
||||
- (void)imageNode:(ASNetworkImageNode *)imageNode didFailWithError:(NSError *)error;
|
||||
|
||||
/**
|
||||
* Notification that the image node finished decoding an image.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user