Hi readers, I'm new here.
I have an api function implemented in nuxt3. It should send 10 SSE data events spaced one second apart.
When I run locally with emulator It works as expected.
When I call the function via the deployed endpoint, it takes 10 seconds for the response to arrive. I have a repo to demonstrate this. Additional notes in the Readme there.
repo:
https://github.com/sig9/nuxt-app-sse/tree/firebasedeployment URL:
https://testdeleteme-7a825.web.app/api/sse/demoFirebase is very new to me, would appreciate any tips on if this can work or if there are limitations to streaming responses with SSE.