Nachricht
« Zurück
Notable PHP package: Axync - PHP Classes
PHP Classes Notable PHP package Axync
From: PHP Classes Notable <list-notable@phpclasses.net>, sent: 13:42:49 - 30.12.2016Notable PHP package: Axync
Mailinator Email Testing Test with 1000's of Inboxes! Web, Rest API, Forwarding. Your QA Team's dream come true! |
Rofl, a PHP package is considered Notable when it does something different that is worth noting.If you have also written Notable packages, contribute them to the PHP Classes site to get your work more exposure. Now you can also win a Big elePHPant as one of the possible prizes you can win every month. Check the complete list of prizes here: List of prizes |
PackageModerator commentCooperative multitasking is a way to execute multiple tasks concurrently. Only one task runs at each moment but it gives the turn to the next task in the list of concurrent tasks, for instance when it needs to wait for some I/O operation to complete, like accesses to files, databases, or network connections. This class implements a manager for cooperative multitasking in pure PHP. It takes advantage of generators introduced in PHP 5.5 to let one task decide when it can give the control to the next task. AuthorMohammed Al Ashaal GroupsLanguage, PHP 7 DescriptionThis class can run several tasks using cooperative multitasking. It can takes one or more callback functions that will do the work of different tasks. The class will execute the registered functions in a loop until all functions are finished. The functions should use the PHP yield command after they do their work, so they allow the next function to do its part of the work. The class can also return a generator that can be used by another object of the class to iterate over a list of callable functions or generators, thus implemented nested cooperative multitasking. |
Rofl you are getting this message as free service for being a user of the PHP Classes site to which you registered voluntarily using the email address rofldigger@getsend.xyz. If you wish to unsubscribe go to the unsubscribe page. |