- Call handler when waiting on fulfilled/rejected Promise
- Fix manually settle promises generated with Utils::task
- Fixed
each_limit
skipping promises and failing
- Support for PHP 8
- Optional
$recursive
flag toall
- Replaced functions by static methods
- Fix empty
each
processing - Fix promise handling for Iterators of non-unique keys
- Fixed
method_exists
crashes on PHP 8 - Memory leak on exceptions
wait()
foreign promise compatibility
- Adds support for custom task queues.
- Fixed coroutine promise memory leak.
- Update to now catch
\Throwable
on PHP 7+
- Update EachPromise to prevent recurring on a iterator when advancing, as this could trigger fatal generator errors.
- Update Promise to allow recursive waiting without unwrapping exceptions.
- Update EachPromise to immediately resolve when the underlying promise iterator
is empty. Previously, such a promise would throw an exception when its
wait
function was called.
- Conditionally require functions.php.
- Updating EachPromise to call next on the underlying promise iterator as late as possible to ensure that generators that generate new requests based on callbacks are not iterated until after callbacks are invoked.
- Initial release