Listex.Snapshot (Listex v0.1.0)

View Source

The whole list at one point in time.

This is what Listex.snapshot/1 returns and what whole-list subscribers (Listex.subscribe(list, :full)) receive after every change.

Summary

Functions

The bare contents, in order, without ids or revisions.

Types

t()

@type t() :: %Listex.Snapshot{
  items: [Listex.Item.t()],
  list_id: Listex.ID.t(),
  version: non_neg_integer()
}

Functions

contents(snapshot)

@spec contents(t()) :: [term()]

The bare contents, in order, without ids or revisions.