Skip to content

CompletableFuture to await initialization of Database #72

@kamiql

Description

@kamiql

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions