MCPcopy Create free account
hub / github.com/apache/groovy / receive

Method receive

src/main/java/groovy/concurrent/AsyncChannel.java:108–108  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

106 * @return an Awaitable that yields the next value
107 */
108 Awaitable<T> receive();
109
110 /**
111 * Closes this channel. Idempotent.

Callers 3

selectMethod · 0.65
drainMethod · 0.65
hasNextMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected