PHP Classes

File: tests/echo.php

Recommend this page to a friend!
  Classes of Wolfy-J   roadrunner   tests/echo.php   Download  
File: tests/echo.php
Role: Example script
Content type: text/plain
Description: Example script
Class: roadrunner
Run multiple tasks of PHP in parallel using Golang
Author: By
Last change:
Date: 5 years ago
Size: 281 bytes


Class file image Download
 * @var Goridge\RelayInterface $relay

use Spiral\Goridge;

$rr = new RoadRunner\Worker($relay);

while (
$in = $rr->receive($ctx)) {
    try {
    } catch (\
Throwable $e) {