Function Receiver.Receive

Receive (out T item)

Receives the next item from the channel.

Public
PopState Receive (

out T

item

)

Receives the next item from the channel.

This call will block if there are no items in the channel or if the channel is currently blocked.

Return

PopState.Ok and a non-null item in the normal case. Returns PopState.Closed if the channel has been closed.