1.

What Is The Use Of Spawn Functions?

Answer»

The Spawn function is used to create a NEW PROCESS.

EXAMPLE:

pid = spawn(fn -> 2 * 2 end)

Process.alive?(pid) 

The Spawn function is used to create a new process.

Example:

pid = spawn(fn -> 2 * 2 end)

Process.alive?(pid) 



Discussion

No Comment Found