RunAsync
Method Signature
RunAsync(callback=[function], executor=[any])Arguments
Argument
Type
Required
Description
Default
Examples
Run a function asynchronously and get the result
future = runAsync( () => {
return "Hello World!";
} );
writeOutput( future.get() );
Run a function after the asynchronous function and use a five milliseconds timeout when calling get()
Run a function asynchronously with then() and error()
Additional Examples
Related
Last updated
Was this helpful?
