Sorry no specific examples. But do read up on DynamicSupervisor. Try to write a GenServer that can be started dynamically with some params (like user_id for example). Play with it in the IEx and make sure you understand how to start the process and find it later by params.
Then once you got that - do the same in Drab. In the onload callback, locate or start your GenServer like you did in IEx. Now your GenServer will survive reload of page/Drab.
Edit
I think you’d start your GenServer in the click:test_start callback. Or maybe a Task will also be fine here.


















