BatchPlease is an Elixir library for collecting batches of items, and doing something with each batch when it reaches a certain size or age.
Yeah, I don't think anything bad will happen.
- Add
batch_please
to your list of dependencies inmix.exs
:
def deps do
[{:batch_please, "~> 0.5.0"}]
end
- Ensure
batch_please
is started before your application:
def application do
[applications: [:batch_please]]
end
Thanks to @eoinkelly for patches!
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.