In the end, we want the service to start an interval (timer) and emit the current date back to the client. We want the service to start a timer per client, and the client can pass in the desired interval time. That’s an important point, because it means that clients can send data through to the server socket. Change your code to add the following:
I’m sometimes referred to internally at HubSpot as our “chief pothole prevention officer” because I’m always on the lookout for problems that are erupting that we can solve early. For some strange reason, I am particularly good at finding problems early. Overall, it can be a good scale-up skill, but I suspect it can make me tiresome at times as well.