MilkBowl / VaultAPI

API Component of Vault
GNU Lesser General Public License v3.0
274 stars 108 forks source link

Add CompletableFuture Methods #146

Open creatorfromhell opened 2 years ago

creatorfromhell commented 2 years ago

This is mainly a placeholder issue to request that methods returning CompletableFutures be added to Vault. I plan to open a PR for this after PR #138 gets merged, but I wanted to open this as an advance notice so nothing is released as "vault2" when this PR would ultimately cause some incompatibility issues.

This is a pretty straightforward request, which is to add some CompletableFuture methods in order to allow for asynchronous programming inside the economy tree of Vault. This will allow economy developers to be able to predictively determine if the method call is sync or async without doing anything such as what was seen in issue #144 .

cerealcable commented 2 years ago

Just commenting that we should also have some initial design discussions here like discussed in #145.