This changeset backports #69 from 4.x to 3.x. Documentation and tests have been updated because only v4 offers an async() function that takes advantage of fibers (PHP 8.1+). The v3 version may block the loop, but otherwise offers the same API to provide a smoother upgrade path towards the fiber-based delay() available in v4.
This changeset backports #69 from
4.x
to3.x
. Documentation and tests have been updated because only v4 offers anasync()
function that takes advantage of fibers (PHP 8.1+). The v3 version may block the loop, but otherwise offers the same API to provide a smoother upgrade path towards the fiber-baseddelay()
available in v4.Builds on top of #69 Refs #15