__construct() __construct(string $commandPath) : mixed Parameters string $commandPath Returns mixed —
listen() listen(string $queue, string $delay, string $memory, int $timeout = 60) : void Parameters string $queue string $delay string $memory int $timeout
runProcess() runProcess(\Think\Process $process, int $memory) : mixed Parameters \Think\Process $process int $memory Returns mixed —
makeProcess() makeProcess(string $queue, int $delay, int $memory, int $timeout) : \think\Process Parameters string $queue int $delay int $memory int $timeout Returns \think\Process —
setOutputHandler() setOutputHandler(\Closure $outputHandler) : void Parameters \Closure $outputHandler
handleWorkerOutput() handleWorkerOutput(int $type, string $line) : void Parameters int $type string $line