Supabase.ConnectionSupervisor (supabase_connection v0.1.0)
A supervisor for all connections. In most cases this should be started
automatically by the application supervisor and be used mainly by
the Supabase
module, availaton on :supabase_potion
application.
Although if you want to manage connections manually, you can leverage
this module to start and stop connections dynamically. To see how to start
a single connection manually, check Supabase.Connection
module docs.
Examples
iex> Supabase.ConnectionSupervisor.start_link([])
{:ok, #PID<0.123.0>}
iex> Supabase.ConnectionSupervisor.start_child({Supabase.Connection, opts})
{:ok, #PID<0.123.0>}
Summary
Functions
Returns a specification to start this module under a supervisor.
Functions
Link to this function
child_spec(arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
start_child(child_spec)
Link to this function