Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.flow.annotations
Annotation Type Asynchronous


@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.
 

daemon

public abstract 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. Default is false which means use the value of the parent task. See TryCatchFinally for more info on daemon semantic.

Default:
false


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.