Lucee Function Reference

runasync()

Example

runasync(object closure,[number timeout]):object

Category

async,thread,future

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Default Value Description
closure object  Yes   Closure function that returns a Future object, which holds the result.  
timeout number  No 0 timeout for the action