PHP Classes

Notable PHP package: PHP Retry Library

Recommend this page to a friend!
  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Viewers: 142

Last month viewers: 2

Categories: Notable Packages

Sometimes applications need to wait for conditions that may take some time to happen, like for instance waiting for a given period to pass until you execute a periodic task.

This package can help implementing these tasks that need to be repeated after a given time interval until a certain condition is met.

Read this article to learn more details about how this notable PHP package works.




Loaded Article
The package PHP Retry Library 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: Keep calling a function until it meets a condition

Here follows in more detail what it does:

This simple class can keep calling a function until it meets a condition.

It takes a given callback function and calls it to check if it returns a value that states that a certain condition is meet.

Until the condition state is reached, the class keeps calling the function after a given period of time, which by default is one minute.

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.



You need to be a registered user or login to post a comment

1,611,040 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on:



Comments:

No comments were submitted yet.



  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)