I thought about this, but the inline `if` seemed a bit messy to me. I think I will add some parentheses for the receive call and go with the inline alternative.