> Please do. > You're not going to like it, which will explain my hesitation : ) Think of all promises as existing in a forest, where "root" promises are created using the Promise constructor and "child" promises are created using `then`. Promises with [[Value]] set are green. Promises with [[Reason]] set are red. A "checkpoint" occurs immediately after the microtask queue has been completely flushed. At any checkpoint, any non-root leaf nodes colored red are program errors. This forces the programmer (me, really) to either write an error handler at the end of a `then` chain, or to return the chain to a caller that will. It also means that I must be strict about when error handlers are attached to a chain. There may be important use cases that this strategy precludes which I haven't yet considered... { Kevin }Received on Thursday, 5 September 2013 19:51:18 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:37:03 UTC