php-http/promise
Common Promise implementation for PHP-HTTP clients. Provides a lightweight, interoperable way to handle async HTTP responses with then/catch chaining, wait/cancel support, and consistent behavior across multiple HTTP client adapters and PSR-7 message workflows.
then returns another promise, there seems no way to properly document this.wait() and then()'s onRejected callablePromise::thenHopefully the first and the last
The Promise interface is extracted from the main repo. See the reasoning in this issue: php-http/httplug#86
How can I help you explore Laravel packages today?