[erlang-questions] gproc:monitor(Key, follow)

Camille Troillard lists@REDACTED
Wed May 28 17:15:49 CEST 2014


I would like to take action when a name gets registered under gproc.

I understood I could call gproc:monitor(Key, follow) during initialization but my process does not get notified of the name availability. Therefore I had to replace that call to gproc:nb_wait, and then monitor the process in the callback handler. I wish I could follow the former approach.

Can someone explain the usage pattern of gproc:monitor(_, follow)?
I am trying to understand why this would not work.


More information about the erlang-questions mailing list