ReceivingChannel<T>
Overview
Location
-
Reference:
- Go.dll .NET, .NET Standard 2.0
- Go.fx Island
- Namespace: go.builtin
- Platforms: .NET, .NET Standard 2.0, Island
- Ancestry: Channel<T> | ReceivingChannel<T>
Properties
Capacity (declared in Channel<T>)
property Capacity: Int32 read;
Int32 Capacity { get; }
var Capacity: Int32 { get{} }
Capacity Int32
ReadOnly Property Capacity() As Int32
Required Methods
Close (declared in Channel<T>)
method Close
void Close()
func Close()
// .NET, .NET Standard 2.0
func Close()
// Island
func Close() void
Sub Close()
GetSequence
method GetSequence: IEnumerable<T>
IEnumerable<T> GetSequence()
func GetSequence() -> IEnumerable<T>
func GetSequence() IEnumerable<T>
Function GetSequence() As IEnumerable<T>
Receive
method Receive: tuple of (T, Boolean)
(T, Boolean) Receive()
func Receive() -> (T, Boolean)
func Receive() tuple of (T, Boolean)
Function Receive() As Tuple (Of T, Boolean)
TryReceive
method TryReceive: IWaitReceiveMessage<T>
IWaitReceiveMessage<T> TryReceive()
func TryReceive() -> IWaitReceiveMessage<T>
func TryReceive() IWaitReceiveMessage<T>
Function TryReceive() As IWaitReceiveMessage<T>