@Deprecated 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()
Deprecated.
Return an event when one is available.
|
T |
receive(long timeout)
Deprecated.
Return an event when one is available.
|
co.paralleluniverse.strands.channels.ReceivePort<T> |
receivePort()
Deprecated.
|
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 © 2024 Eclipse. All rights reserved.