Receives the next value from this channel. The returned Awaitable completes when a value is available. Receiving from a closed, empty channel fails with ChannelClosedException. @return an Awaitable that yields the next value
()
| 106 | * @return an Awaitable that yields the next value |
| 107 | */ |
| 108 | Awaitable<T> receive(); |
| 109 | |
| 110 | /** |
| 111 | * Closes this channel. Idempotent. |