Call Functions In Background
Currently, if you call a function for example function1 from a separate function function2. Function2 will wait for function1 to execute and return before continuing. We have a function that we'd like to use to execute a different function with different parameters, however, the first function has to wait for each function to finish executing before it can call the next one. The first function times out before it can be completed.
For example:
function1:
loop through items in a collection and call function2 in a loop
function_2:
Some long-running function that takes a while to complete
1
vote
Varand
shared this idea