What is Nostr?
cesardias / Cesar Dias
npub1ces…t37c
2025-01-16 20:21:35
in reply to nevent1q…g4n3

cesardias on Nostr: No really, I actually hacking around observable way before rx-nostr, I am not ...

No really, I actually hacking around observable way before rx-nostr, I am not familiar with their implementation but I don't think they put the outbox model in mind like I did, one of the differences is that I treat relays as observables instead of arrays, therefor I can "start" a subscriptions without even know which relays is going to, this makes a lot of sense for the outbox model as I start the subscription with the relays "I know" and slowly push new relays to the stream based on author filters on the fly. So no need to know the relays before hand or wrap things in promises (I barely have any promises on my codebase)

I can kinda do all of that without a single if statement or imperative code, and also very easy to write unit tests
Author Public Key
npub1cesrkrcuelkxyhvupzm48e8hwn4005w0ya5jyvf9kh75mfegqx0q4kt37c