Membrane.Core.Element.DemandHandler.update_demand

You're seeing just the function update_demand, go back to Membrane.Core.Element.DemandHandler module for more information.
Link to this function

update_demand(pad_ref, size, state)

View Source

Specs

update_demand(
  Membrane.Pad.ref_t(),
  pos_integer(),
  Membrane.Core.Element.State.t()
) :: Membrane.Core.Element.State.stateful_try_t()

Updates demand on the given input pad that should be supplied by future calls to supply_demand/2 or check_and_supply_demands/2.