Quick question - would something like this cover the basic cancelable promise use case, or am I missing something important about what LazyPromise does differently?
Interesting, interesting. It would take me a few hours of playing with this mechanism to know what I think of it as a primitive, but for me this solution is relevant to a problem I really have so I might take a look. Right now I just write methods that sometimes return a promise and sometimes don't.
The two separate failure channels turn me off. Is this practical or does it introduce unwanted complexity in most cases?
Also wondering what are the Signals that are mentioned.
Kind of reminds me of https://doc.rust-lang.org/rust-by-example/trait/drop.html