An Elixir collection of small utilities.
- Alambic.Semaphore: a simple semaphore implementation intended for simple resource control scenarios.
- Alambic.CountDown: a simple countdown latch implementation intended for simple fan in scenarios.
- Alambic.BlockingQueue: a simple shared queue allowing consuming via the
Enum
andStream
modules. - Alambic.BlockingCollection: a protocol exposing standard functions to manipulate blocking collections.
Add the github repository to your mix dependencies:
-
Add alambic to your list of dependencies in
mix.exs
:def deps do [{:alambic, git: "https://github.com/sdanzan/alambic.git"}] end
-
Ensure alambic is started before your application:
def application do [applications: [:alambic]] end
If available in Hex, the package can be installed as:
-
Add alambic to your list of dependencies in
mix.exs
:def deps do [{:alambic, "~> 0.1.0"}] end
-
Ensure alambic is started before your application:
def application do [applications: [:alambic]] end