Skip to content

Add the possibility to await sync events (publishAwait) #202

@ziadalzarka

Description

@ziadalzarka

I ran into an issue where I want to trigger an event that I don't want my code to continue to execute before it is processed, but it's not a synchronous event.

I'm suggesting adding a new publishAwait method that makes the publish method use async/await and await the deliver function.

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