Hunter.Marker (hunter v0.7.0)

Copy Markdown View Source

Marker entity

The last read position within a user's timeline; the markers endpoint returns a map with home and/or notifications keys, each holding one marker

Fields

  • last_read_id - the ID of the most recently viewed entity
  • version - incrementing counter, used for locking to prevent write conflicts
  • updated_at - when the marker was set

Summary

Types

t()

@type t() :: %Hunter.Marker{
  last_read_id: String.t(),
  updated_at: String.t(),
  version: non_neg_integer()
}