EA Async implements async-await methods in the JVM. It allows programmers to write asynchronous code in a sequential fashion. It was developed by BioWare, a division of Electronic Arts.
The EA Async Maven Plugin executes compile time instrumentation of classes that use EA Async.
A sample project can be found here.
Documentation is located here.
EA Async is licensed under the BSD 3-Clause License.
Add the EA Async dependency:
<dependency>
<groupId>com.ea.async</groupId>
<artifactId>ea-async</artifactId>
<version>1.2.3</version>
</dependency>
Add the build plugin that will instrument the uses of await
<build>
<plugins>
<plugin>
<groupId>com.ea.async</groupId>
<artifactId>ea-async-maven-plugin</artifactId>
<version>1.2.3</version>
<executions>
<execution>
<goals>
<goal>instrument</goal>
<goal>instrument-test</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>