Mesh is a library that allows you to 'mesh' together a series of tasks, whilst switching thread contexts.
Put more plainly, it's a Spigot-based abstraction of the CompletableFuture class.
Recommended to shade & relocate it to avoid conflicts with other plugins!
<dependency>
<groupId>us.figt</groupId>
<artifactId>Mesh</artifactId>
<version>VERSION</version>
</dependency>
Maven repository is on Maven Central
Browse through the code or see examples here, and on the wiki page here.
(More documentation and examples coming soon)
PRs are welcome. For major changes, please open an issue first to discuss what you would like to change.