Membrane.Testing.Pipeline.message_child
You're seeing just the function
message_child
, go back to Membrane.Testing.Pipeline module for more information.
Specs
message_child(pid(), Membrane.Element.name_t(), any()) :: :ok
Sends message to a child by Element name.
Example
Knowing that pipeline
has child named sink
, message can be sent as follows:
message_child(pipeline, :sink, {:message, "to handle"})