- in the actor:
- someplace outside that
actor:
This can also be done the other way round. Each actor can reach out to whomever is calling the dispatcher and register with it. I’ll admit that I’m not 100% what the end goal is that you want to achieve, though. The above is just generic dispatcher shenanigans.