Packmatic.Event.StreamEnded (Packmatic v1.2.0) View Source

Represents an Event that is raised when the Encoder completes work. In case of normal completion, the reason will be set to :done, otherwise and in case of Source errors, the reason will be carried across.

Link to this section Summary

Link to this section Types

Specs

t() :: %Packmatic.Event.StreamEnded{
  reason: term(),
  stream_bytes_emitted: non_neg_integer(),
  stream_id: Packmatic.Encoder.stream_id()
}