WhiteRabbit.Connection.start_amqp_connection

You're seeing just the function start_amqp_connection, go back to WhiteRabbit.Connection module for more information.
Link to this function

start_amqp_connection(opts)

View Source

Specs

start_amqp_connection(t()) ::
  {:ok, {AMQP.Connection.t(), t()}} | {:ok, {nil, t()}}

Tries to start an %AMQP.Connection{} with the passed config.

Monitors the opened connection so the Genserver can shut itself down in the event of an unexpected close. (Management API force-close, CLI close, etc.)

A {:ok, {, }} tuple is always returned so the Genserver will always start even if it cannot connect.