What an append wrote, answered by Decree.Store.append_to_stream/4 and
Decree.Store.append_to_streams/2 when called with returning: :append_result.
Fields
position- the last$allposition the append wrote. An append's events take contiguous positions, so this and the event count give every one of them. It stands for the whole append, over the 1,000-event split ofDecree.Store.append_to_stream/4as well.stream_versions-%{stream_uuid => version}, each stream's version after the append.
Summary
Types
@type t() :: %Decree.Store.AppendResult{ position: non_neg_integer(), stream_versions: %{required(String.t()) => non_neg_integer()} }