RBProcessingQueue Class Reference

Inherits from NSObject
Declared in RBProcessingQueue.h

Overview

Manages a queue of items to be processed.

  items

The total set of items that were queued to be processed.

@property (nonatomic, readonly, nullable) NSSet *items

Declared In

RBProcessingQueue.h

  processedItems

The set of items that were queued and have been processed.

@property (nonatomic, readonly, nullable) NSSet *processedItems

Declared In

RBProcessingQueue.h

  pendingItems

The set of items that were queued and have not yet been processed.

@property (nonatomic, readonly, nullable) NSSet *pendingItems

Declared In

RBProcessingQueue.h

– enqueueItem:

Adds a new item to the queue to be processed.

- (void)enqueueItem:(nonnull id)item

Parameters

item

The item to add to the queue.

Declared In

RBProcessingQueue.h

– markItem:asProcessed:

Marks whether an item in the queue has been processed.

- (void)markItem:(nonnull id)item asProcessed:(BOOL)processed

Parameters

item

The item to mark as processed or not processed.

processed

Whether or not the item should be marked as processed (true) or unprocessed (false).

Declared In

RBProcessingQueue.h