Packmatic.Event.StreamEnded (Packmatic v2.0.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.

Summary

Types

t()

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