4 ms·
Why does the promise returned by a promise’s then() method need to reference that promise? The original promise needs to reference the chained promise, not the
by jameshart 1y ago
Why does the promise returned by a promise’s then() method need to reference that promise?
The original promise needs to reference the chained promise, not the other way round.
As jobs complete I would expect the top of the chain to be eligible to be garbage collected.