receiveNextFromChannel

The channel must not be empty; otherwise an IllegalStateException will occur.

Return

the next element in the channel

Parameters

waitStats

indicates whether waiting time statistics should be collected