Re: RFC: Server-Side Request and Response Objects (v2)
| From: | Paul M. Jones | Date: | Sun, 23 Feb 2020 21:53:40 +0000 |
| Subject: | Re: RFC: Server-Side Request and Response Objects (v2) | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-108732@lists.php.net to get a copy of this message | ||
Hi all,
> On Feb 12, 2020, at 12:20, Niklas Keller <me@kelunik.com> wrote:
>
>> A: It supports async exactly as much as PHP itself does.
>
> Not really. PHP has built-in stream_select / non-blocking streams, so
> supports the tools required for async out of the box.
Per private conversation with Niklas, he notes some future conditions under which the API as
presented might work with async (e.g. the arrival of fibers) -- but until that time, async is best
left out-of-scope. I have updated the RFC to that effect.
--
Paul M. Jones
pmjones@pmjones.io
http://paul-m-jones.com
Modernizing Legacy Applications in PHP
https://leanpub.com/mlaphp
Solving the N+1 Problem in PHP
https://leanpub.com/sn1php