MemberJunction / MJ

Main MemberJunction Repository
https://docs.memberjunction.org/
ISC License
4 stars 0 forks source link

Batch list async #636

Open JS-BC opened 2 weeks ago

JS-BC commented 2 weeks ago

This PR adds a new BatchListAsync function to the MJCore pacakge. The purpose of this function is to split a given list into smaller batches and execute a function with each batch. This is useful in cases where you're dealing with large lists e.g. rex recommendations, sending messages via communication engine and vectorizing entities