A send-expression takes the form:
send-expression: lvalue <- = expressionIn the expression
e1 <- = e2the lvalue
e1 must have type chan of type, and e2 must be of that type. The value of e2 is sent over the channel. If no task is executing a channel receive operation on the specified channel, the sender blocks. Task synchronization is discussed in The alt Statement.