ParallelCurl icon indicating copy to clipboard operation
ParallelCurl copied to clipboard

How to aggregate all results in the same array?

Open rafasashi opened this issue 11 years ago • 1 comments

Thank you for this really useful script.

I'd like to use your script to aggregate multiple results from multiple sources and I was wondering if you could provide with a way to aggregate the outputs from 'on_request_done' in a single array without using global variables inside the function?

rafasashi avatar Nov 02 '14 11:11 rafasashi

Create a simple class that stores the results in array as object properties.

marcushat avatar Nov 17 '14 22:11 marcushat