PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

Swoole\Process::useQueue

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Swoole\Process::useQueueCreate a message queue as the communication method between the parent process and child processes.

说明

public Swoole\Process::useQueue ( integer $key [, integer $mode ] ) : boolean

参数

key

mode

返回值