How do project services get triggered?

Could someone explain how exactly these work. I’ve looked through the code but I can’t seem to pinpoint how they are actually triggered once they have been activated :frowning:

Thanks!