Resource chaining and other promise-like composition
With raw Promises, there are a number of ways to compose them usefully, e.g.
.then()
for value transformation, Promise.all()
for orchestration, etc. Scanning through the docs, I wasn't able to find anything similar for resources. That means that if I have a higher-order caching library that returns Resources, there's no way to functionally compose those results.
Am I missing something? If not, is this something I can provide a wrapper for as a user without breaking solid's reactivity model? Or barring that, is this reasonable to consider as a feature request?1 Reply
This is definitely something lacking with resources today, and I'm working on making them work better for 2.0