Skip to content

Conversation

@clue
Copy link
Member

@clueclue commented Dec 7, 2022

This changeset backports #69 from 4.x to 2.x (see also #71 for same changes in 3.x). Documentation and tests have been updated because only v4 offers an async() function that takes advantage of fibers (PHP 8.1+). The v2 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.

Builds on top of #69
Refs #15 and #11

@clueclue added the new feature New feature or request label Dec 7, 2022
@clueclue added this to the v2.1.0 milestone Dec 7, 2022
@WyriHaximusWyriHaximus merged commit 3ae32f1 into reactphp:2.xDec 11, 2022
@clueclue deleted the delay-v2 branch December 11, 2022 18:15
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new featureNew feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@clue@WyriHaximus@SimonFrings