Свойство | Тип | Описание | |
---|---|---|---|
$_atomic | swoole_atomic | ||
$_handles | |||
$_queue | Swoole\IFace\Queue | ||
$_workers | |||
$async | |||
$config |
Метод | Описание | |
---|---|---|
__construct ( $config ) | ||
_worker ( ) | ||
runWorker ( integer $worker_num = 1, boolean $daemon = false ) | ||
trigger ( $type, $data ) : mixed | 触发事件 |
Метод | Описание | |
---|---|---|
_execute ( $type, $data ) : mixed | 处理器 |