Registry.put_meta
You're seeing just the function
put_meta
, go back to Registry module for more information.
Specs
put_meta(registry(), meta_key(), meta_value()) :: :ok
Stores registry metadata.
Atoms and tuples are allowed as keys.
Examples
iex> Registry.start_link(keys: :unique, name: Registry.PutMetaTest)
iex> Registry.put_meta(Registry.PutMetaTest, :custom_key, "custom_value")
:ok
iex> Registry.meta(Registry.PutMetaTest, :custom_key)
{:ok, "custom_value"}
iex> Registry.put_meta(Registry.PutMetaTest, {:tuple, :key}, "tuple_value")
:ok
iex> Registry.meta(Registry.PutMetaTest, {:tuple, :key})
{:ok, "tuple_value"}