ReceivingChannel<T>

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island, macOS
  • Namespace: go.builtin

Implemented in

Implements

Required Methods


Receive

 

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

 

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

 

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

 

// .NET, Island, macOS
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>