Annotation Type Async
public @interface Async
Marker interface used for annotating methods that operate asynchronously.
Async operations are operations that DO NOT have a result realized after the completion of the execution of the annotated method. The result will be realized at a later point in time, likely by another thread.
This means that the program will:
- Get to the code annotated with the
Async
interface. - Continue executing as intended.
- Without stopping, run the code contained in the method's body.
- Continue executing as intended.
Marker interfaces have no purpose other than to indicate to anyone who sees the annotation that the annotated field or class or method has a certain property.
- Since:
- 0.3.0
- Author:
- Colin Robertson