With the former inclusion of PHP Fibers in 8.1, it's widely known that next async frameworks like ReactPHP and Amp will start using PHP Fibers internally, while extensions like Swoole and
While both of these frameworks are compatible, there is no guaranteed interoperability between async libraries. Seems that the common offering from these libraries are Event Loops (run tasks until error or no task is left) and Promises (execute now, wait for value later) that represent the state of a callback sent to the Event Loop where its sent. I humbly think that an hypothetical PSR-21 would allow interoperability by abstraction, at least, once Fibers are published at the end of the year. -- You received this message because you are subscribed to the Google Groups "PHP Framework Interoperability Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/dcea879a-d93c-422c-ac33-391026c0c404n%40googlegroups.com.
