1.

How is a message sent and received in Erlang?

Answer»

For sending a message, you can USE an EXCLAMATION mark (!) as the OPERATOR. The syntax that you can use for sending a new message is Pid ! Message.

For receiving a message, you can use Pattern MATCHING from the message queue RECEIVE a statement.



Discussion

No Comment Found