Whatever message this page gives is out now! Go check it out!
future.handle(function)| Parameter | Description |
|---|---|
| function | Required. A function (value, error) that returns the next value. |
<cfscript>
future = runAsync(function() { return "success"; });
handled = future.handle(function(value, error) { return isNull(error) ? value & "_handled" : "error_handled";});
writeOutput(handled.get()); // success_handled
</cfscript>