The app should have two actors, let’s say Alice and Bob. Both should be instances of the same GenServer module, as they’re gonna receive events and obviously have the same functionalities.
Looking for a clean way to instantiate them both as children of the application’s supervisor… and make sure they’re easily accessible from live views.
Actually I’m not sure id option is required here, since the supervisor can handle this on it’s own, to address the genservers easily you need to give them global names using name registration: