Skip to content

optimize swoole timer docs #4773

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

NathanFreeman
Copy link
Contributor

No description provided.

@NathanFreeman NathanFreeman force-pushed the timer branch 3 times, most recently from e549eb6 to 4f57199 Compare July 12, 2025 06:03
The underlying system does not support timers with a time parameter of 0. This is different from languages like Node.js.
In Swoole, you can use Swoole\Event::defer to achieve similar functionality.
<programlisting role="php">
<![CDATA[
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No spaces needed. Other modifications have the same problem.

Suggested change
<![CDATA[
<![CDATA[

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants