Re: [RFC] Polling API

From: Date: Fri, 31 Oct 2025 22:56:53 +0000
Subject: Re: [RFC] Polling API
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-129033@lists.php.net to get a copy of this message
Hi Jakub, Am 30.10.25 um 10:06 PM schrieb Jakub Zelenka:
I would like to introduce a new polling API RFC that is part of my stream evolution work:
thank you for putting this RFC forward. I missed a build-in unified polling API for a long time! I just have some minor remarks: 1. Why not use a "Pollable" interface that will be implemented by Socket, CurlHandle, etc? That would allow to directly use the "resource classes" without a step in between. (The remaining resources should be converted to classes, too, and implement Pollable, obviously). 2. Is there a reason why mysqli (when using async queries) is missing from the Future Scope list? Or did it just not come to mind? Kind regards Dennis

« previous php.internals (#129033) next »