Call a function that may or may not return a promise for each set of parameters, if any of the calls return a promise, it will return a promise that resolves to an array of the results.
If all calls return values directly, it will return an array of the results directly.
Call a function that may or may not return a promise for each set of parameters, if any of the calls return a promise, it will return a promise that resolves to an array of the results. If all calls return values directly, it will return an array of the results directly.