Membrane.Element.Base.handle_event

You're seeing just the callback handle_event, go back to Membrane.Element.Base module for more information.
Link to this callback

handle_event(pad, event, context, state)

View Source (optional)

Specs

Callback that is called when event arrives.

Events may arrive from both sinks and sources. In filters by default event is forwarded to all sources or sinks, respectively.