Membrane Core v0.1.1 Membrane.Mixins.CallbackHandler behaviour View Source
Behaviour for module that delegates its job to the other module via callbacks. It also delivers the default implementation of logic that handles the results of callbacks.
Link to this section Summary
Link to this section Types
Link to this type
callback_return_t(action_t, internal_state_t)
View Source
callback_return_t(action_t, internal_state_t) :: {:ok, internal_state_t} | {{:ok, [action_t]}, internal_state_t} | {{:error, any()}, internal_state_t}