Is this Effect-ive? Socket.io + Stream.async
I'm building a monorepo side project with Effect and I want to use Effect in as many places as advisable. Even though I'm new to Effect, everything was going fine until I wanted to implement web sockets. I looked at the docs on sockets but it made little to no sense, so I built a small example seen below. Basically, I used socket.io under the hood and wrapped everything in Effect services. Please advise me how to improve the code and avoid common pitfalls as I know there will be many things I can change.
