take abstract method

T? take()

Used to retrieve any buffered message. Note the behavior of this method has to be consistent with isEmpty.

Implementation

T? take();