tryReceive
Immediately returns a message from the data channel or null if no message is available.
This method does not suspend and returns immediately. If a message is available, it is returned; otherwise, null is returned.
Immediately returns a message from the data channel or null if no message is available.
This method does not suspend and returns immediately. If a message is available, it is returned; otherwise, null is returned.