VP
Size: a a a
VP
VS
ŹR
ŹR
iex(1)> a = spawn fn -> :ok end
#PID<0.106.0>
iex(2)> GenServer.cast(a, "test")
:ok
iex(3)> a
#PID<0.106.0>
iex(4)> Process.alive?(a)
false
V
VP
ŹR
iex(5)> GenServer.call(a, "test")
** (exit) exited in: GenServer.call(#PID<0.106.0>, "test", 5000)
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
(elixir) lib/gen_server.ex:1009: GenServer.call/3
VS
V
ЛЛ
iex(5)> GenServer.call(a, "test")
** (exit) exited in: GenServer.call(#PID<0.106.0>, "test", 5000)
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
(elixir) lib/gen_server.ex:1009: GenServer.call/3
AP
V
ЛЛ
ŹR
ŹR
VS
V
ŹR
ŹR