Packages
one_flight
0.1.0
Collapse concurrent duplicate Elixir calls into one supervised execution per key.
Current section
Files
Jump to
Current section
Files
lib/one_flight/application.ex
defmodule OneFlight.Application do
@moduledoc false
use Application
@impl true
def start(_type, _args) do
Supervisor.start_link([{OneFlight, name: OneFlight}], strategy: :one_for_one)
end
end