Replying to Avatar hzrd149

nostr:npub1cesrkrcuelkxyhvupzm48e8hwn4005w0ya5jyvf9kh75mfegqx0q4kt37c nostr:npub133vj8ycevdle0cq8mtgddq0xtn34kxkwxvak983dx0u5vhqnycyqj6tcza and nostr:npub1jlrs53pkdfjnts29kveljul2sm0actt6n8dxrrzqcersttvcuv3qdjynqn ( if you haven't given up on RxJS yet )

This is all RxJS based, so it should be fairly easy to build custom loading modules. since they would just be a function that takes an array of address pointers and returns an observable of events ( that completes )

So you can compose multiple loaders and can create multiple strategies of them? btw do you consume them directly in the UI?

Reply to this note

Please Login to reply.

Discussion

Composing loaders maybe get very complicated because of caching and batching requests. But if they are customizable enough then it should be possible. I don't know yet because I still need to figure out how to get batching to work

For using them in the UI, the idea would be for the UI components to trigger them, but still use the event store as the source of truth