Skip to content

Instantly share code, notes, and snippets.

@softberries
Created March 21, 2023 16:07
Show Gist options
  • Save softberries/dee513557c8e3bf41c657add8f2e29de to your computer and use it in GitHub Desktop.
Save softberries/dee513557c8e3bf41c657add8f2e29de to your computer and use it in GitHub Desktop.
children = [
# Start the Telemetry supervisor
BroadwayDemoWeb.Telemetry,
# Start the PubSub system
{Phoenix.PubSub, name: BroadwayDemo.PubSub},
# Start the Endpoint (http/https)
BroadwayDemoWeb.Endpoint,
# Start a worker by calling: BroadwayDemo.Worker.start_link(arg)
# {BroadwayDemo.Worker, arg}
{BroadwayPubSubSimple, []}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment