Process.get
You're seeing just the function
get
, go back to Process module for more information.
Specs
Returns all key-value pairs in the process dictionary.
Inlined by the compiler.
Specs
Returns the value for the given key
in the process dictionary,
or default
if key
is not set.
Examples
# Assuming :locale was not set
iex> Process.get(:locale, "pt")
"pt"
iex> Process.put(:locale, "fr")
nil
iex> Process.get(:locale, "pt")
"fr"