Skip to content

Instantly share code, notes, and snippets.

@leandrocp
Created May 17, 2018 11:56
Show Gist options
  • Save leandrocp/3546c723115926105ae345a097280b25 to your computer and use it in GitHub Desktop.
Save leandrocp/3546c723115926105ae345a097280b25 to your computer and use it in GitHub Desktop.
iex> :sys.trace pid, true
:ok
iex> GenServer.call(pid, ​:next_number​)
*DBG* <0.69.0> got call next_number from <0.25.0>
*DBG* <0.69.0> sent 105 to <0.25.0>, new state 106
105
# Excerpt From: Dave Thomas. “Programming Elixir ≥ 1.6” iBooks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment