mirror of
https://github.com/ichmagmaus111/ghostgram.git
synced 2026-04-24 00:25:58 +02:00
20 lines
463 B
Objective-C
20 lines
463 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
@interface SQueue : NSObject
|
|
|
|
+ (SQueue *)mainQueue;
|
|
+ (SQueue *)concurrentDefaultQueue;
|
|
+ (SQueue *)concurrentBackgroundQueue;
|
|
|
|
+ (SQueue *)wrapConcurrentNativeQueue:(dispatch_queue_t)nativeQueue;
|
|
|
|
- (void)dispatch:(dispatch_block_t)block;
|
|
- (void)dispatchSync:(dispatch_block_t)block;
|
|
- (void)dispatch:(dispatch_block_t)block synchronous:(bool)synchronous;
|
|
|
|
- (dispatch_queue_t)_dispatch_queue;
|
|
|
|
- (bool)isCurrentQueue;
|
|
|
|
@end
|