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