Closed SEAPUNK closed 8 years ago
Actually, the event system will come later.
Right now I'm going to use the GitLab Runner approach: The server does not proactively manage anything, the runners proactively take the jobs.
This way, any proactive data (like events) will just enhance operations (e.g. make things faster), and it's perfectly fine if those functions fail.
Currently, I will be using eventemitter3.
Will generator middleware be a better fit?
I'm also being a bit paranoid about functions that could fail that are responsible for processing the jobs.