razshare / sveltekit-sse

Server Sent Events with SvelteKit
https://www.npmjs.com/package/sveltekit-sse
MIT License
301 stars 9 forks source link

chore(example): Room and waiting lobby #44

Closed oscarhermoso closed 5 months ago

oscarhermoso commented 5 months ago

Working example of a rooom and waiting lobby using SSE.

Created as an example for https://github.com/tncrazvan/sveltekit-sse/issues/43, but may be useful for playwright testing, etc.

Understand that this is also a lot of extra code - feel free to decline this PR if you are not interested in this to the library.

razshare commented 5 months ago

Hello @oscarhermoso , This is very useful code! I will use it to run some playwright tests as you suggested, yes.

I've also created a branch called example-waiting-lobby, could you please merge this into example-waiting-lobby instead of main?

I've got a pretty good idea what's causing https://github.com/tncrazvan/sveltekit-sse/issues/43 and I tihnk I can fix it this weekend, but this is still useful code for testing.

oscarhermoso commented 5 months ago

Awesome @tncrazvan, I have changed the target branch on the PR