Exact source-owned search-index generation shared across editor and renderer workflows.
Summary
Functions
Returns the exact buffer revision represented by this generation.
Creates the next exact generation stamp.
Types
@type t() :: %Minga.Search.IndexGeneration{ buffer: pid(), query_revision: non_neg_integer(), sequence: non_neg_integer(), token: reference(), version: non_neg_integer() }
Functions
@spec buffer_revision(t()) :: {non_neg_integer(), non_neg_integer()}
Returns the exact buffer revision represented by this generation.
@spec new(pid(), non_neg_integer(), non_neg_integer(), non_neg_integer()) :: t()
Creates the next exact generation stamp.