View Source Membrane.Event (Membrane Core v1.0.1)

Event is an entity that can be sent between elements.

Events can flow either downstream or upstream - they can be sent with Membrane.Element.Action.event/0, and can be handled in Membrane.Element.Base.handle_event/4. Each event is to implement Membrane.EventProtocol, which allows to configure its behaviour.

Summary

Types

t()

Event is an entity that can be sent between elements.

Types

@type t() :: Membrane.EventProtocol.t()

Event is an entity that can be sent between elements.

Events can flow either downstream or upstream - they can be sent with Membrane.Element.Action.event/0, and can be handled in Membrane.Element.Base.handle_event/4. Each event is to implement Membrane.EventProtocol, which allows to configure its behaviour.

Functions