Similarly to alias (register service for lookup, but no callbacks); there should probably be a way to register a service without exposing it to lookup, but still receiving callbacks.
At that point it'll become evident that there really aren't 3 separate concepts for this one thing, but I also felt that addService which does TWO things (lookup + service lifecycles) is a bit naive. Ah well. 🤔
I don't feel like doing this... at this point it would have made sense to make a register(service, RegisterMode... modes) but that'd mean significant rework that I won't do.
Similarly to alias (register service for lookup, but no callbacks); there should probably be a way to register a service without exposing it to lookup, but still receiving callbacks.
At that point it'll become evident that there really aren't 3 separate concepts for this one thing, but I also felt that
addService
which does TWO things (lookup + service lifecycles) is a bit naive. Ah well. 🤔