You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
defmoduleMyActordouseGenServerdefstart_actor(name)do{:ok,pid}=Swarm.register_name(name,MyDynamicSupervisor,:register,[name])enddefstart_link(name)doGenServer.start_link(__MODULE__,name)enddefinit(name)dopid=Swarm.whereis_name(name)# At this moment, the application stops to respond{:ok,name}endend
The text was updated successfully, but these errors were encountered:
If you try to run
Swarm.whereis_name(name)
whileSwarm.register_name(name, Sup....)
didn't finish yet, the application stops to respond.The text was updated successfully, but these errors were encountered: