X3m.System.Test.Router.private_service
You're seeing just the function
private_service
, go back to X3m.System.Test.Router module for more information.
Specs
private_service(X3m.System.Message.t()) :: :ok
This service is not shared with other nodes!
Accepts private_service
service call, routing it's message
to
Elixir.X3m.System.Test.Controller.private/1
.
If result of that invocation is {:reply, %X3m.System.Message{}}
,
it sends message to message.reply_to
pid.
If result of invocation is :noreply
, nothing is sent to that pid.
In any case function returns :ok
.
Example:
iex> :private_service |>
...> X3m.System.Message.new() |>
...> Elixir.X3m.System.Test.Router.private_service()
:ok