BFExecutor Class Reference
Inherits from | NSObject |
Declared in | BFExecutor.h |
Class Methods
defaultExecutor
Returns a default executor, which runs continuations immediately until the call stack gets too deep, then dispatches to a new GCD queue.
+ (instancetype)defaultExecutor
Discussion
Returns a default executor, which runs continuations immediately until the call stack gets too deep, then dispatches to a new GCD queue.
Declared In
BFExecutor.h
executorWithBlock:
Returns a new executor that uses the given block to execute continuations.
+ (instancetype)executorWithBlock:(id)block
Parameters
- block
The block to use.
Discussion
Returns a new executor that uses the given block to execute continuations.
Declared In
BFExecutor.h
executorWithDispatchQueue:
Returns a new executor that runs continuations on the given queue.
+ (instancetype)executorWithDispatchQueue:(id)queue
Parameters
- queue
The instance of
dispatch_queue_t
to dispatch all continuations onto.
Discussion
Returns a new executor that runs continuations on the given queue.
Declared In
BFExecutor.h
executorWithOperationQueue:
Returns a new executor that runs continuations on the given queue.
+ (instancetype)executorWithOperationQueue:(id)queue
Parameters
- queue
The instance of
NSOperationQueue
to run all continuations on.
Discussion
Returns a new executor that runs continuations on the given queue.
Declared In
BFExecutor.h