tryReceive
Retrieves and removes an element from this channel if it's not empty, returning a successful result, returns failed result if the channel is empty, and closed result if the channel is closed.
Sources
common source
Link copied to clipboard