Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for async/await on the onEventAppeared for subscribeToStreamFrom #40

Open
mariobittencourt opened this issue May 11, 2020 · 2 comments

Comments

@mariobittencourt
Copy link

Hi @x-cubed,

I wonder if you can provide some insight into making sure the each event is processed before moving to the next one.

( async event => { await eventHandler.handle(event); }),

but it seems to ignore that as I see other events being handled before the previous one finished.

@mariobittencourt
Copy link
Author

Hi @x-cubed any idea if I should be using a different way to achieve this?

@x-cubed
Copy link
Owner

x-cubed commented May 17, 2020

I'm not sure, I haven't used this library in a while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants