What is Nostr?
amos /
npub1n6r…k065
2023-03-06 00:01:20
in reply to nevent1q…wqxd

amos on Nostr: Looks good to me. The connection process can deal with receiving events, and then ...

Looks good to me. The connection process can deal with receiving events, and then just send them to the relevant subscription GenServer to be processed. You can have a dynamic supervisor for the connection processes and another one for the subscription processes and you can use a registry to keep track of all the processes.
Author Public Key
npub1n6rlug259nhkkyrkxd84uq0kzn9ut04zyvv8kpudadru9aezqkmqwkk065