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

Discussion

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

Declared In

RBProcessingQueue.h

  processedItems

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

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

Discussion

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

Declared In

RBProcessingQueue.h

  pendingItems

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

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

Discussion

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

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.

Discussion

Adds a new item to the queue to be processed.

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).

Discussion

Marks whether an item in the queue has been processed.

Declared In

RBProcessingQueue.h