mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
16 lines
333 B
Objective-C
16 lines
333 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
@interface ASQueue : NSObject
|
|
|
|
- (instancetype)initWithName:(const char *)name;
|
|
|
|
+ (ASQueue *)mainQueue;
|
|
|
|
- (dispatch_queue_t)nativeQueue;
|
|
|
|
- (bool)isCurrentQueue;
|
|
- (void)dispatchOnQueue:(dispatch_block_t)block;
|
|
- (void)dispatchOnQueue:(dispatch_block_t)block synchronous:(bool)synchronous;
|
|
|
|
@end
|