RACTargetQueueScheduler Class Reference
Inherits from | RACQueueScheduler : RACScheduler : NSObject |
Declared in | RACTargetQueueScheduler.h RACTargetQueueScheduler.m |
Overview
A scheduler that enqueues blocks on a private serial queue, targeting an arbitrary GCD queue.
Instance Methods
initWithName:targetQueue:
Initializes the receiver with a serial queue that will target the given
targetQueue
.
- (id)initWithName:(NSString *)name targetQueue:(dispatch_queue_t)targetQueue
Discussion
name - The name of the scheduler. If nil, a default name will be used. targetQueue - The queue to target. Cannot be NULL.
Returns the initialized object.
Declared In
RACTargetQueueScheduler.h