documentation for queue.purge