<aside> 💡 Channels are constructs that are based upon communication, in which processes send and receive messages to and from each other.

</aside>

Synchronous vs Asynchronous communications

Addessing

Symmetric: The sender and receiver both know each others address

Asymmetric: Only the sender knows the address of the receiver

Untitled

Untitled

Untitled

Data flow

Unidirectional: The sender sends to the receiver and the communication ends. If the receiver wants to answer than a new channel has to be created.

Bidirectional: The sender and receiver send each other messages through the same channel.

Untitled

Channels

<aside> 💡 A channel connects a sending process with a receiving process.

Channels are typed, meaning that you must declare the type of the message that can be sent on the channel.

</aside>

Untitled

Untitled

Untitled