Receiver
Object Hierarchy:
Gpseq.Receiver
Gpseq.Receiver
Gpseq.Receiver
Gpseq.ChannelBase
Gpseq.ChannelBase
Gpseq.ChannelBase->Gpseq.Receiver
Gee.Traversable
Gee.Traversable
Gee.Traversable->Gpseq.Receiver
Description:
[
Version ( since =
"0.3.0-alpha" ) ]
public interface Receiver <
G > :
ChannelBase ,
Traversable <
G >
All known sub-interfaces:
Content:
Methods:
public abstract Result <G > recv ()
Receives a value from the channel. This method blocks the thread until a
value is received or the channel is closed and has no more data.
public abstract Result <G > recv_until (int64 end_time)
Receives a value from the channel. This method blocks the thread until a
value is received, the channel is closed and has no more data, or end_time has passed.
public abstract Result <G > try_recv ()
Attempts to receive a value from the channel. This method doesn't block the
thread and returns immediately, regardless of success.
Inherited Members:
All known members inherited from interface Gpseq.ChannelBase
All known members inherited from interface Gee.Traversable