eclogue / bulrush
There is no license information available for the latest version (dev-master) of this package.
dev-master
2018-01-20 09:48 UTC
This package is auto-updated.
Last update: 2025-03-21 22:06:50 UTC
README
In the meanwhile I smile and I sing all alone. In the meanwhile the air is filling with the perfume of promise.
overview
php coroutine control flow. High performance yield handlers.
Install
`composer require eclogue/bulrush`
Usage
use Bulrush\Scheduler;
function gen () {
$url = 'https://github.com/eclogue/bulrush';
$response = yield file_get_contents($url);
return $response;
}
$scheduler = new Scheduler();
$scheduler->add(gen());
$scheduler->run();