arrayEach
10
4

Overview ColdFusion Open BlueDragon Lucee

Invokes passed function while passing one element at a time from the array. There can be only one argument to closure invoke and that will be array element

Attributes

Name Required Type Default Description
10
4
array Yes Array Array to iterate over
4
closure No UDF/Closure that call with the values from array
10
function Yes Closure Closure function to process each array element
4
maxThreads No maximum number of threads executed, ignored when argument "parallel" is set to false
4
parallel No execute closures parallel