mirror of
https://github.com/danog/Telegram.git
synced 2024-12-11 17:09:46 +01:00
21 lines
448 B
C
21 lines
448 B
C
|
#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
|