Whatever message this page gives is out now! Go check it out!
future.thenAccept(action)| Parameter | Description |
|---|---|
| action | Required. A function that accepts this stage’s result and performs work (void semantics). |
<cfscript>
future = runAsync(function() { return "test"; });
future.thenAccept(function(x) { variables.consumed = x; }).get();
writeOutput(variables.consumed); // test
</cfscript>