Currently this library expecting Handler class which will be executed by the library and we dont have much control on this. Can you please expose a dequeue() method which will enable more flexibility for others and also Queue library should have enque(), dequeue(), delete() and delay() in my opinion.