mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Temp
This commit is contained in:
14
submodules/MtProtoKit/Sources/Utils/MTQueueLocalObject.h
Normal file
14
submodules/MtProtoKit/Sources/Utils/MTQueueLocalObject.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@class MTQueue;
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface MTQueueLocalObject<__covariant T> : NSObject
|
||||
|
||||
- (instancetype)initWithQueue:(MTQueue *)queue generator:(T(^)())generator;
|
||||
- (void)with:(void (^)(T))f;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in New Issue
Block a user