Skip to content

🦜 Implement ElasticEvent to allow magic treatment of EventManager#callEvent #29

@nuriofernandez

Description

@nuriofernandez

Implement a way to handle events after his completion open to different implementations.

eventManager.callEvent(new NormalEventExample());

eventManager.callEvent(new ConsumibleEventExample()).onComplete(() -> {
    System.out.println("Event completed callback");
});

String name = eventManager.callEvent(new StringEventReturningExample());

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions