Current section

Files

Jump to
membrane_core lib membrane notification.ex
Raw

lib/membrane/notification.ex

defmodule Membrane.Notification do
@moduledoc """
A notification is a message sent from `Membrane.Element` to a parent
via action `t:Membrane.Element.Action.notify_t/0` returned from any callback.
A notification can be handled in parent with callback
`c:Membrane.Parent.handle_notification/3`
The example of a notification is tuple `{:end_of_stream, pad_ref}` that, by default,
is sent when handling `Membrane.Event.EndOfStream` event
"""
@type t :: any
end