Channel Direction (uni/bi)
This page is under active revision, content may be updated without notice
By default channels can receive and send, but channels direction can be controlled by restricting them to either send or receive (applicable only for method/func signature). This ensures safety where required. For example
Channels with Range and Close
Channel can be iterated over using range and can be closed. Channel, closed once will allow no more values to passed across.
Last updated