A dispatch queue. More...
Instance Methods | |
(void) | - enqueueWithItem: |
Enqueues an item for processing. More... | |
(instancetype) | - initWithAction: |
Initializes a new instance of the FMLiveSwitchDispatchQueue`1 class. More... | |
(instancetype) | - initWithActionBlock: |
Initializes a new instance of the FMLiveSwitchDispatchQueue`1 class. More... | |
(instancetype) | - initWithFunc: |
Initializes a new instance of the FMLiveSwitchDispatchQueue`1 class. More... | |
(instancetype) | - initWithFuncBlock: |
Initializes a new instance of the FMLiveSwitchDispatchQueue`1 class. More... | |
(long long) | - queueCount |
Gets the number of items in the queue. More... | |
(void) | - waitForDrain |
Blocks until the queue is empty. More... | |
Class Methods | |
(FMLiveSwitchDispatchQueue *) | + dispatchQueueWithAction: |
Initializes a new instance of the FMLiveSwitchDispatchQueue`1 class. More... | |
(FMLiveSwitchDispatchQueue *) | + dispatchQueueWithActionBlock: |
Initializes a new instance of the FMLiveSwitchDispatchQueue`1 class. More... | |
(FMLiveSwitchDispatchQueue *) | + dispatchQueueWithFunc: |
Initializes a new instance of the FMLiveSwitchDispatchQueue`1 class. More... | |
(FMLiveSwitchDispatchQueue *) | + dispatchQueueWithFuncBlock: |
Initializes a new instance of the FMLiveSwitchDispatchQueue`1 class. More... | |
Protected Attributes | |
__pad0__: NSObject<FMLiveSwitchIDispatchQueue>- (void) destroy | |
A dispatch queue.
+ (FMLiveSwitchDispatchQueue*) dispatchQueueWithAction: | (FMLiveSwitchAction1< T > *) | action |
Initializes a new instance of the FMLiveSwitchDispatchQueue`1 class.
action | The processing action. |
+ (FMLiveSwitchDispatchQueue*) dispatchQueueWithActionBlock: | (void(^)(T)) | actionBlock |
Initializes a new instance of the FMLiveSwitchDispatchQueue`1 class.
actionBlock | The processing action. |
+ (FMLiveSwitchDispatchQueue*) dispatchQueueWithFunc: | (FMLiveSwitchFunction1< T, FMLiveSwitchFuture< id > * > *) | func |
Initializes a new instance of the FMLiveSwitchDispatchQueue`1 class.
func | The processing function. |
+ (FMLiveSwitchDispatchQueue*) dispatchQueueWithFuncBlock: | (FMLiveSwitchFuture< id > *(^)(T)) | funcBlock |
Initializes a new instance of the FMLiveSwitchDispatchQueue`1 class.
funcBlock | The processing function. |
- (void) enqueueWithItem: | (T) | item |
Enqueues an item for processing.
item | The item. |
- (instancetype) initWithAction: | (FMLiveSwitchAction1< T > *) | action |
Initializes a new instance of the FMLiveSwitchDispatchQueue`1 class.
action | The processing action. |
- (instancetype) initWithActionBlock: | (void(^)(T)) | actionBlock |
Initializes a new instance of the FMLiveSwitchDispatchQueue`1 class.
actionBlock | The processing action. |
- (instancetype) initWithFunc: | (FMLiveSwitchFunction1< T, FMLiveSwitchFuture< id > * > *) | func |
Initializes a new instance of the FMLiveSwitchDispatchQueue`1 class.
func | The processing function. |
- (instancetype) initWithFuncBlock: | (FMLiveSwitchFuture< id > *(^)(T)) | funcBlock |
Initializes a new instance of the FMLiveSwitchDispatchQueue`1 class.
funcBlock | The processing function. |
- (long long) queueCount |
Gets the number of items in the queue.
- (void) waitForDrain |
Blocks until the queue is empty.
|
protected |