Rather new to elixir so keep that in mind :)
Iäm wondering how to add an Agent/GenServer to an Application's Supervisor after the Application's Supervisor.start_link.
At runtime, the errors arent showing up in the console when they happen (i know they're happening), but when I add this Agent to the Supervisor at the Application start I do see the errors when they happen. I hope this makes sense?
#Adding something to Application Supervisor _after_ the app has started
1 messages · Page 1 of 1 (latest)
Since you’re new, why are you trying to do that? How are you trying now?
What errors?
And new to Elixir, not programming in general, just to be clear.
So this process only starts when I can verify a websocket connection is secured.
So i have something listening for the websocket verification, then I start an agent/genserver thats handling the WebSocket actions.
If it helps, I'm using WebSockex as the WS client.
Well, you can, but why not start DynamicSupervisor under your supervisor and use that?