Skip to content

Commit

Permalink
Revert "Split Main & Streaming socket"
Browse files Browse the repository at this point in the history
This reverts commit efccaea.
  • Loading branch information
Daniel Sienkiewicz committed Dec 28, 2023
1 parent efccaea commit 9cb14c7
Show file tree
Hide file tree
Showing 15 changed files with 1,395 additions and 1,274 deletions.
20 changes: 20 additions & 0 deletions lib/xtb_client/application.ex
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
Loading

0 comments on commit 9cb14c7

Please sign in to comment.