Native observables are coming

https://x.com/benlesh/status/1893053275995357608?s=46&t=Gcnc8IvM2RrI7sbuEtFg6g

Reply to this note

Please Login to reply.

Discussion

🤖 Tracking strings detected and removed!

🔗 Clean URL(s):

https://x.com/benlesh/status/1893053275995357608

❌ Removed parts:

?s=46&t=Gcnc8IvM2RrI7sbuEtFg6g

thank you

Looks good for Nostr, maybe, but what's the advantage over async generators + streams? It seems wrong there's no ReadableStream you can get from this.

With observables you have a lot more flexibility to do really cool stuff (specially with all the useful rxjs operators), I managed to avoid a lot of state and imperative code on my code base, here's a simple nostrify wrapper example