XEts.KV.fetch
You're seeing just the function
fetch
, go back to XEts.KV module for more information.
Link to this function
fetch(tab, key)
Specs
Get an item from the table.
iex> XEts.KV.new(:foo, []) |> XEts.KV.put(:k, :v) |> XEts.KV.fetch(:k)
{:ok, :v}
iex> XEts.KV.new(:foo, []) |> XEts.KV.fetch(:k)
:error