public interface Receiver<T>
Note that the `receive` methods may block the calling fiber but will not block an underlying kernel thread.
| Modifier and Type | Method and Description | 
|---|---|
T | 
receive()
Return an event when one is available. 
 | 
T | 
receive(long timeout)
Return an event when one is available. 
 | 
co.paralleluniverse.strands.channels.ReceivePort<T> | 
receivePort()  | 
co.paralleluniverse.strands.channels.ReceivePort<T> receivePort()
@Suspendable T receive()
@Suspendable T receive(long timeout)
timeout - the max amount of time in ms to wait for an event to be availableCopyright © 2020 Eclipse. All rights reserved.