Broadway v0.6.2 Broadway.BatchInfo View Source

A struct used to hold information about a generated batch.

An instance of this struct containing the related info will be passed to the Broadway.handle_batch/4 callback of the module implementing the Broadway behaviour.

Link to this section Summary

Link to this section Types

Specs

t() :: %Broadway.BatchInfo{
  batch_key: term(),
  batcher: atom(),
  partition: non_neg_integer() | nil,
  size: pos_integer()
}