Commit

18de6b4

Use my two packages achieved asynchronous http request & response (non-blocking I/O), like javascript but use MySQL objects not PDO and we have alternative Idea going with Fast-route and React php Promise library.
php
use function PulsePHP\Async\async;
use function PulsePHP\Async\await;
use Clover\Http\{Request, Response};

$route->get('/api/users', async(
    function (Request $req, Response $res) use ($db) {
        $users = await(
            $db->table('users')->get()
        );

        return $res->json($users);
    }
));
CloverPHP is a routing library and PulsePHP is a event-loop and async/await library.

commit 18de6b4