listen() listen(string $queue, string $delay, string $memory, integer $timeout = 60) : void Parameters string $queue string $delay string $memory integer $timeout
runProcess() runProcess(\Think\Process $process, integer $memory) Parameters \Think\Process $process integer $memory
makeProcess() makeProcess(string $queue, integer $delay, integer $memory, integer $timeout) : \think\Process Parameters string $queue integer $delay integer $memory integer $timeout Returns \think\Process
memoryExceeded() memoryExceeded(integer $memoryLimit) : boolean Parameters integer $memoryLimit Returns boolean
setOutputHandler() setOutputHandler(\Closure $outputHandler) : void Parameters \Closure $outputHandler
handleWorkerOutput() handleWorkerOutput(integer $type, string $line) : void Parameters integer $type string $line