Tidefall.HashMap.Entry (Tidefall v1.0.0-rc.0)

Copy Markdown View Source

A processed entry from Tidefall.HashMap.

The processor receives a list of these structs on every processing tick:

fn batch ->
  Enum.each(batch, fn %Tidefall.HashMap.Entry{key: k, value: v} ->
    process(k, v)
  end)
end

See t/0 for the full field-by-field semantics.

Summary

Types

t()

A processed entry struct.

Types

t()

@type t() :: %Tidefall.HashMap.Entry{
  key: any(),
  updates: non_neg_integer(),
  value: any(),
  version: Tidefall.HashMap.version()
}

A processed entry struct.

Fields