Skip to content

Instantly share code, notes, and snippets.

@sergant210
sergant210 / Worker.php
Created May 9, 2019 — forked from etheriqa/Worker.php
Parallel processing on PHP using stream_select()
View Worker.php
<?php
interface Worker
{
public function getCommand();
public function done($stdout, $stderr);
public function fail($stdout, $stderr, $status);
}
You can’t perform that action at this time.