receive

context(_: Simulator)
fun <T> PullInputChannel<T>.receive(): T

Receives data from this pull input channel.

Return

the data received from upstream

Throws

if the channel is not ready