receiveNextFromChannel

Removes the next item directly from the channel, skipping the line of waiting requests. The channel must not be empty, and no waiting request can want the next item; otherwise an IllegalStateException will occur. Use canRemoveFromChannel() to check.

Return

the next element in the channel

Parameters

waitStats

indicates whether waiting time statistics should be collected