Send sends value on the underlying channel.
(value any)
| 34 | |
| 35 | // Send sends value on the underlying channel. |
| 36 | func (c *Channel) Send(value any) { |
| 37 | c.C <- value |
| 38 | } |
| 39 | |
| 40 | // SendContext sends value on the underlying channel, or returns an error if |
| 41 | // the context expires. |
no outgoing calls