Whatever message this page gives is out now! Go check it out!
future.thenAcceptAsync(action)| Parameter | Description |
|---|---|
| action | Required. A function that takes the previous result and performs an action (void return). |
<cfscript>
future = runAsync(function()
{ return "test"; });
consumed = future.thenAcceptAsync(function(x) {
variables.consumed = x;});consumed.get();
writeOutput(variables.consumed); // test
</cfscript>