/batch_please

Batch collector and processor for Elixir

Primary LanguageElixir

BatchPlease

BatchPlease is an Elixir library for collecting batches of items, and doing something with each batch when it reaches a certain size or age.

Should I use this in production?

Yeah, I don't think anything bad will happen.

Installation

  1. Add batch_please to your list of dependencies in mix.exs:
def deps do
  [{:batch_please, "~> 0.5.0"}]
end
  1. Ensure batch_please is started before your application:
def application do
  [applications: [:batch_please]]
end

Contributors

Thanks to @eoinkelly for patches!

Copyright and License

Copyright (c) 2017, Appcues, Inc. All rights reversed.

This software is released under the MIT License and is offered without warranty or guarantee of any kind.