XEts.KV.get_and_update
You're seeing just the function
get_and_update
, go back to XEts.KV module for more information.
Link to this function
get_and_update(tab, key, fun)
Specs
Get and update an item in the table.
iex> tab = XEts.KV.new(:foo, []) |> XEts.KV.put(:k, 2)
iex> XEts.KV.get_and_update(tab, :k, & { &1, &1 + 1 })
{2, tab}