lib/membrane/element/callback_context/demand.ex

defmodule Membrane.Element.CallbackContext.Demand do
  @moduledoc """
  Structure representing a context that is passed to the element
  when processing incoming demand.
  """
  use Membrane.Core.Element.CallbackContext,
    incoming_demand: non_neg_integer()
end