-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Split Main & Streaming socket"
This reverts commit efccaea.
- Loading branch information
Daniel Sienkiewicz
committed
Dec 28, 2023
1 parent
efccaea
commit 9cb14c7
Showing
15 changed files
with
1,395 additions
and
1,274 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
defmodule XtbClient.Application do | ||
# See https://hexdocs.pm/elixir/Application.html | ||
# for more information on OTP Applications | ||
@moduledoc false | ||
|
||
use Application | ||
|
||
@impl true | ||
def start(_type, _args) do | ||
children = [ | ||
# Starts a worker by calling: XtbClient.Worker.start_link(arg) | ||
# {XtbClient.Worker, arg} | ||
] | ||
|
||
# See https://hexdocs.pm/elixir/Supervisor.html | ||
# for other strategies and supported options | ||
opts = [strategy: :one_for_one, name: XtbClient.Supervisor] | ||
Supervisor.start_link(children, opts) | ||
end | ||
end |
Oops, something went wrong.