Packages

Partitioned FIFO ets buffer with optional memory limit

Current section

Files

Jump to
airbag lib airbag.ex
Raw

lib/airbag.ex

defmodule Airbag do
@moduledoc "README.md"
|> File.read!()
|> String.split("<!-- MDOC !-->")
|> Enum.fetch!(1)
def child_spec(opts) do
%{
id: Keyword.fetch!(opts, :buffer_name),
start: {Airbag.Supervisor, :start_link, [opts]}
}
end
end