Description
For processing paged results we have very helpful function called process. Currently it's default setting for accumulate results is true which depending on amount of pages and data callback function produces, might lead to unpredictable memory consumption. Because of that on every usage we have to explicitly override defaults with process(myCallbackFn, { accumulate: false }).
Expected Behavior
Default for accumulate should be false
Current Behavior
Default for accumulate is true
Description
For processing paged results we have very helpful function called
process. Currently it's default setting foraccumulateresults istruewhich depending on amount of pages and data callback function produces, might lead to unpredictable memory consumption. Because of that on every usage we have to explicitly override defaults withprocess(myCallbackFn, { accumulate: false }).Expected Behavior
Default for accumulate should be
falseCurrent Behavior
Default for accumulate is
true