PhpGt / Promise

A pleasant way to work with asynchronous PHP.

Home Page:https://www.php.gt/promise

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Call stack is messy

g105b opened this issue · comments

When debugging promises, it's really difficult to understand where the original resolutions were made, because every step of the promise's life is recorded as a separate entry.

To resolve this, when promises are resolved, they should be done on references to new objects. A bit of investigation needs to be made in order to figure out the most effective place for this to happen.