Amqpx.Gen.Producer.publish

You're seeing just the function publish, go back to Amqpx.Gen.Producer module for more information.
Link to this function

publish(exchange_name, routing_key, payload, options \\ [])

Specs

publish(
  exchange_name :: String.t(),
  routing_key :: String.t(),
  payload :: String.t(),
  options :: Keyword.t()
) :: :ok | :error