HeadDatabase-API icon indicating copy to clipboard operation
HeadDatabase-API copied to clipboard

CompletableFuture to await initialization of Database

Open Kamiql opened this issue 5 months ago • 1 comments

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

Kamiql avatar Jun 12 '25 22:06 Kamiql