1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-12 17:37:33 +01:00
Telegram/Share/TGPoolWithTimeout.h

11 lines
222 B
C
Raw Normal View History

2015-10-01 18:19:52 +02:00
#import <Foundation/Foundation.h>
@interface TGPoolWithTimeout : NSObject
- (instancetype)initWithTimeout:(NSTimeInterval)timeout maxObjects:(NSUInteger)maxObjects;
- (void)addObject:(id)object;
- (id)takeObject;
@end