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)


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.