Running functions in paralel

Hi,
I am searching for solution to call external API using different parameters in paralel, and can’t do it from one Realm function (as it will take longer than max allowed function execution time), what would be a solution to achieve this?