|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=METHOD) @Retention(value=RUNTIME) public @interface Asynchronous
Call to @Asynchronous method always returns immediately without executing it
code. Method body is scheduled for execution after all parameters that extend
Promise
and not marked with NoWait
are ready. The only valid
return types for @Asynchronous method are void
and
Promise
.
Optional Element Summary | |
---|---|
boolean |
daemon
if set to true treats asynchronous task as a daemon task, allowing the parent asynchronous scope to close if all non-daemon child tasks completes. |
public abstract boolean daemon
false
which means use the value of the
parent task. See TryCatchFinally
for more info on daemon
semantic.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |