It seems like sse events are processed synchronously, is this the case? #56
Ancient-Dragon
started this conversation in
General
Replies: 1 comment 4 replies
-
JS is not concurrent by nature, it is a single-threaded language being able to only execute one task at a time. But I guess you already knew that, so I might be making a wrong assumption here - can you therefore elaborate a bit more? Or even better, create a repro showcasing the behaviour? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have recently been doing some performance testing and we found that our server would send lots of events in quick succession and by using the debugMessage + other logs we noticed that it was waiting for the processing of that subscription handler to be completed before processing the next event (didn't even have to be the same subscription).
Just wanting to confirm whether that is the case? and if so is it possible to make them async (especially when they're not the same subscription)?
Beta Was this translation helpful? Give feedback.
All reactions