1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-11 17:09:46 +01:00
Telegram/Telegraph/ATQueue.h

21 lines
448 B
C
Raw Normal View History

2014-07-10 16:11:09 +02:00
#import <Foundation/Foundation.h>
//@class RACScheduler;
@interface ATQueue : NSObject
+ (ATQueue *)mainQueue;
- (instancetype)init;
- (instancetype)initWithName:(NSString *)name;
- (void)dispatch:(dispatch_block_t)block;
- (void)dispatch:(dispatch_block_t)block synchronous:(bool)synchronous;
- (void)dispatchAfter:(NSTimeInterval)seconds block:(dispatch_block_t)block;
- (dispatch_queue_t)nativeQueue;
//- (RACScheduler *)scheduler;
@end