Concurrency Syntax Flashcards

1
Q

spawn a process

A

spawn fn -> 1 + 2 end

spawn/1 takes a function which it will execute in another process.

https://elixir-lang.org/getting-started/processes.html#spawn

How well did you know this?
1
Not at all
2
3
4
5
Perfectly