dequeue
Removes and returns the specified TaskElement from the queue. If the element is not found, logs a warning and returns null.
Removes and returns the specified TaskElement from the queue. If the element is not found, logs a warning and returns null.