Specifies the type for demand units.
Deprecated behaviour
The callbacks defined here are deprecated. The metric functionality has been moved to the internal API of the Membrane Framework.
Summary
Types
Callbacks
@callback buffer_size_approximation() :: pos_integer()
@callback buffers_size([Membrane.Buffer.t()]) :: non_neg_integer()
@callback split_buffers([Membrane.Buffer.t()], non_neg_integer()) :: {[Membrane.Buffer.t()], [Membrane.Buffer.t()]}