Skip to content

Instantly share code, notes, and snippets.

View markbate's full-sized avatar

Mark Bate markbate

View GitHub Profile
@sferik
sferik / gist:7324739
Last active December 27, 2015 12:19 — forked from anonymous/gist:7324533
# Node A:
# iex --sname "nodea"
Process.register self, :iex
# Blocking
receive do
{ :hello, pid } ->
IO.puts "Hello from #{inspect(pid)}"
end