@Target(value=METHOD) @Retention(value=RUNTIME) public @interface Asynchronous
Promise
and not marked with NoWait
are ready. The only valid
return types for @Asynchronous method are void
and
Promise
.Modifier and Type | Optional Element and Description |
---|---|
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.Copyright © 2014. All rights reserved.