remove And Immediate Resume
Removes the entity from the queue and tells it to resume its process immediately, without being scheduled through the event loop. This may be useful to coordinate processes that occur at the same time.
Parameters
entity
the entity to remove from the queue
wait Stats
if true the waiting time statistics are collected on the usage of the queue