Whatever message this page gives is out now! Go check it out!
future.runAfterBoth(other, action)| Parameter | Description |
|---|---|
| other | Required. The other Future to wait for. |
| action | Required. A function with no parameters that performs an action (void return). |
<cfscript>
f1 = runAsync(function() { return 1; });
f2 = runAsync(function() { return 2; });
after = f1.runAfterBoth(f2, function() { variables.executed = "DONE";});
after.get();
writeOutput(variables.executed); // DONE
</cfscript>