@expo/batcher
v1.0.0
Published
Batches up items, like rows to insert into a database, so they can be processed together. It is similar to DataLoader but designed for more general tasks and does not have a cache.
Downloads
991
Maintainers
Keywords
Readme
Batcher
Batcher is a small library for batching operations that happen within a given time frame. It is inspired by DataLoader, a library that batches data-loading operations together. Batcher differs from DataLoader in that it does not have a cache but supports options like longer batching intervals. It was designed with non-data-loading operations like database writes in mind.