Whatever message this page gives is out now! Go check it out!
future.thenRunAsync(action)| Parameter | Description |
|---|---|
| action | Required. A function with no parameters that performs an action (void return). |
<cfscript>
future = runAsync(function() {
return "done"; });
executed = future.thenRunAsync(function() {
variables.executed = true;});executed.get();
writeOutput(variables.executed ? "EXECUTED" : "NOT_EXECUTED"); // EXECUTED
</cfscript>