View Source Endo.Utils.ETS (Endo v0.1.18)

Exposes functions for some basic ETS operations. https://www.erlang.org/doc/man/ets.html

coveralls-ignore-start

Summary

Types

@type type() :: :set | :ordered_set | :bag | :duplicate_bag

Functions

@spec from_list(list()) :: :ets.tab()
Link to this function

get(table, key, default \\ nil)

View Source
@spec get(:ets.tab(), term(), term()) :: term()
@spec has_key?(:ets.tab(), term()) :: boolean()
@spec new(type :: type()) :: :ets.tab()
@spec put(:ets.tab(), term(), term()) :: :ets.tab()
@spec to_list(:ets.tab()) :: list()