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
-
Add
batch_pleaseto your list of dependencies inmix.exs:
def deps do
[{:batch_please, "~> 0.5.0"}]
end-
Ensure
batch_pleaseis started before your application:
def application do
[applications: [:batch_please]]
endContributors
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.