DEV Community

Discussion on: Understanding Genservers

Collapse
 
matthewbe profile image
Mathieu

Hi. There's a mistake in the snippet including the Person module. The PID returned by spawn and the PID outputted on message reception should be the same. To make sure, I ran the code myself and it confirmed both PID are the same.

Collapse
 
manzanit0 profile image
Javier Garcia

Hi! True, with all the copy-pasting I messed up. Thanks for the heads up :)