event-store-client icon indicating copy to clipboard operation
event-store-client copied to clipboard

Support for async/await on the onEventAppeared for subscribeToStreamFrom

Open mariobittencourt opened this issue 4 years ago • 2 comments

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 avatar May 11 '20 13:05 mariobittencourt

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

mariobittencourt avatar May 16 '20 23:05 mariobittencourt

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

x-cubed avatar May 17 '20 05:05 x-cubed