David W
10/09/2018, 6:28 PMwhile(intentionReceiver.isFull) { noop }
actually solves my problem perfectly, except that in practice, I don't use capacity = 0
(I want to be able to queue up inputs to the channel), and if the capacity is infinite, then isFull
is of course always false.