Author: Manuel Lemos
Updated on: 2020-09-03
Posted on: 2020-09-03
Package: React PHP Timer Loop
This package provides a PHP implementation of the JavaScript setTimeout and setInterval functions using ReactPHP.
About the React PHP Timer Loop Package
The package React PHP Timer Loop is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.
The basic purpose is: Call functions after a given time like JavaScript
Here follows in more detail what it does:
This package can call functions after a given time like JavaScript.
It provides functions that use the ReactPHP library to allow applications to define callback functions that will be invoked after a given period of time. Currently it provides the functions:
- setTimeout to invoke the callback code once after the interval time
- setInterval to invoke the callback code at regular periods of time of a given length
- clearTimeout to cancel a given timer that was started by the setTimeout function
- clearInterval to cancel a given timer that was started by the setInterval function
Conclusion
The React PHP Timer Loop can be downloaded from download page or be installed using the PHP Composer tool following instructions in the Composer install instructions page.
This package was considered notable for implementing its benefits in a way that is worth noticing.
Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.
If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package as well nice prizes.
One nice prize that many PHP developers want and you may like is the PHP elePHPant mascot plush.
You need to be a registered user or login to post a comment
1,562,994 PHP developers registered to the PHP Classes site.
Be One of Us!
Login Immediately with your account on:
Comments:
2. Process Control Extension Ev - Mat Jung (2020-09-04 10:29)
Why reinvent the wheel?... - 0 replies
Read the whole comment and replies
1. Not work like javascript timer... - Mohammad Ashfaq (2020-09-03 20:35)
Not work like javascript timer...... - 0 replies
Read the whole comment and replies