Membrane Core v0.5.0 Membrane.CallbackContext behaviour View Source

Parent module for all contexts passed to callbacks.

The idea of context is to provide access to commonly used information without forcing user to hold it in state. Context differs depending on callback.

Link to this section Summary

Link to this section Callbacks

Link to this macrocallback

from_state(arg1, keyword)

View Source
from_state(
  term(),
  Membrane.Core.Element.State.t() | Membrane.Core.Bin.State.t(),
  keyword()
) :: Macro.t()