Rill v0.10.4 Rill.MessageStore.MessageData.Read View Source

Link to this section Summary

Link to this section Types

Link to this type

t() View Source
t() :: %Rill.MessageStore.MessageData.Read{
  data: map(),
  global_position: pos_integer(),
  id: String.t(),
  metadata: map(),
  position: non_neg_integer(),
  stream_name: Rill.MessageStore.StreamName.t(),
  time: NaiveDateTime.t(),
  type: String.t()
}

Link to this section Functions

Link to this function

build(data) View Source
build(data :: struct()) :: %Rill.MessageStore.MessageData.Read{
  data: term(),
  global_position: term(),
  id: term(),
  metadata: term(),
  position: term(),
  stream_name: term(),
  time: term(),
  type: term()
}
build(data :: map()) :: %Rill.MessageStore.MessageData.Read{
  data: term(),
  global_position: term(),
  id: term(),
  metadata: term(),
  position: term(),
  stream_name: term(),
  time: term(),
  type: term()
}

Link to this function

to_map(read) View Source
to_map(
  read :: %Rill.MessageStore.MessageData.Read{
    data: term(),
    global_position: term(),
    id: term(),
    metadata: term(),
    position: term(),
    stream_name: term(),
    time: term(),
    type: term()
  }
) :: map()