[erlang-questions] Completing the thought (a question about receive)
Tue Feb 19 02:07:11 CET 2019
On 02/18, Donald Steven wrote:
>SO, will the three lines marked "some code I want executed" be executed
>always, or does a closely following message interrup it and send things
>back to the 'receive' (leaving some code perhaps not executed)?
They will execute. A message is only handled when `receive' gets to be
able to grab one.
More information about the erlang-questions