Now writes into the receiver whether a producer or consumer.