Packages

Defines a Supabase Connection for usage in the Supabase Potion.

Retired package: this package has no utility for the supabase_potion project anymore

Current section

Files

Jump to
supabase_connection lib supabase connection application.ex
Raw

lib/supabase/connection/application.ex

defmodule Supabase.Connection.Application do
@moduledoc false
use Application
@impl true
def start(_type, _args) do
children = [Supabase.ConnectionSupervisor]
opts = [strategy: :one_for_one, name: Supabase.Connection.Supervisor]
Supervisor.start_link(children, opts)
end
end