swoole_server->taskWaitMulti

����ִ�ж��Task

array swoole_server->taskWaitMulti(array $tasks, double $timeout);

ʹ��ʵ��

$tasks[] = mt_rand(1000, 9999);
$tasks[] = mt_rand(1000, 9999);
//�ȴ�����Task������أ���ʱΪ10s
var_dump($tasks);
$results = $serv->taskWaitMulti($tasks, 10.0);
var_dump($results);

taskWaitMulti�ӿ���1.8.8����߰汾����