HeadDatabase-API
HeadDatabase-API copied to clipboard
CompletableFuture to await initialization of Database
I would REALLY appreciate, if we had some kind of CompletableFuture implementation. Maybe something like this:
HeadDatabaseAPI#use((CompletableFuture<HeadDatabaseAPI>) -> Unit)
-> So basicly this instead of the original constructor access
That would really help, because its kinda scuffed to do anything async whilst trying to await the Database. (or maybe I am just stoopid)
Kind regards Kilian