Did you ever wanted a queue that only accepts unique items? This module provides a way of doing that. If you try to insert a duplicated item in the queue, the item is ignored.
Did you ever want a queue that only accepts unique items? This module provides a way of doing that. If you try to insert a duplicated item in the queue, the item is ignored.
```php
// $data can be anything.
@@ -14,9 +14,89 @@ if ($queue->createItem($data) === FALSE) {
}
```
## Usage
In order for your queue to use the Queue Unique you need to update your `settings.php` file:
## Basic Usage
In order for your queue to use Queue Unique with the default queue service
(the core QueueFactory) you need to update your `settings.php` file: