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

Implemented in

Implements

Required Methods


GetSequence

 

method GetSequence: IEnumerable<T>

 

IEnumerable<T> GetSequence()

 

func GetSequence() -> IEnumerable<T>

 

func GetSequence() IEnumerable<T>

Receive

 

// .NET, Island
method Receive: tuple of (T, Boolean)
// .NET Standard 2.0
method Receive: ValueTuple<T, Boolean>

 

// .NET, Island
(T, Boolean) Receive()
// .NET Standard 2.0
ValueTuple<T, Boolean> Receive()

 

// .NET, Island
func Receive() -> (T, Boolean)
// .NET Standard 2.0
func Receive() -> ValueTuple<T, Boolean>

 

// .NET, Island
func Receive() (T, Boolean)
// .NET Standard 2.0
func Receive() ValueTuple<T, Boolean>

TryReceive

 

method TryReceive: IWaitReceiveMessage<T>

 

IWaitReceiveMessage<T> TryReceive()

 

func TryReceive() -> IWaitReceiveMessage<T>

 

func TryReceive() IWaitReceiveMessage<T>