Packages

Drive R from Elixir through a persistent Rscript backend, with an experimental embedded native backend.

Current section

Files

Jump to
rx lib rx supervisor.ex
Raw

lib/rx/supervisor.ex

defmodule Rx.Supervisor do
@moduledoc false
use Supervisor
def start_link(opts \\ []) do
Supervisor.start_link(__MODULE__, opts, name: __MODULE__)
end
@impl true
def init(_opts) do
children = [
Rx.Runtime,
Rx.Backends.PortArrow
]
Supervisor.init(children, strategy: :one_for_one)
end
end