8000 [3.x] Add new `delay()` function to delay program execution by clue · Pull Request #71 · reactphp/async · GitHub
[go: up one dir, main page]

Skip to content

[3.x] Add new delay() function to delay program execution #71

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 11, 2022

Conversation

clue
Copy link
Member
@clue clue commented Dec 7, 2022

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.

Builds on top of #69
Refs #15

@clue clue added the new feature New feature or request label Dec 7, 2022
@clue clue added this to the v3.1.0 milestone Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0