Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save trycf/6c9b335557c7ca20f4ab26da4d130c54 to your computer and use it in GitHub Desktop.
Save trycf/6c9b335557c7ca20f4ab26da4d130c54 to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
a = function () {
writeoutput("a was called!<hr />");
return "a";
}
writeoutput("before runAsync<hr />");
future = runAsync(a);
writeoutput("before get<hr />");
result = future.get();
writeoutput("after get<hr />");
writedump(result);
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment