You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have a case where it would be great to have lo.chunk method for map. Below I provide an example of this case.
Sometimes, api can accept request with map, like:
varrequestmap[string]RequestParams
where value RequestParams is parameters of request and key helps to identify your request in batch.
And api can accept maximum 50 elements in map.
Now if I need to process 500 items, I need to chunk it by myself and write additional code for chunking, it would be great to have such func in lo.
I could make a PR for it, if you agree to add it. Also, I could provide more details about solution and problem
The text was updated successfully, but these errors were encountered:
Hello, I have a case where it would be great to have lo.chunk method for map. Below I provide an example of this case.
Sometimes, api can accept request with map, like:
where value RequestParams is parameters of request and key helps to identify your request in batch.
And api can accept maximum 50 elements in map.
Now if I need to process 500 items, I need to chunk it by myself and write additional code for chunking, it would be great to have such func in lo.
I could make a PR for it, if you agree to add it. Also, I could provide more details about solution and problem
The text was updated successfully, but these errors were encountered: