Spear.Client.start_link
You're seeing just the callback
start_link
, go back to Spear.Client module for more information.
Specs
start_link(args :: Keyword.t()) :: GenServer.on_start()
Starts a client as part of a supervision tree.
This function is defaulted to pull connection parameters from application
config or from the args
Examples
# lib/my_app/application.ex
[
{MyEventStoreClient, connection_string: "esdb://localhost:2113"},
..
]
|> Supervisor.start_link(strategy: :one_for_one)