Files

26 lines
393 B
PHP
Raw Permalink Normal View History

2022-01-09 03:49:02 +08:00
<?php
2022-01-10 11:39:55 +08:00
namespace Kiri\Server\Events;
2022-01-09 03:49:02 +08:00
use Swoole\Server;
2022-06-20 17:25:01 +08:00
use Swoole\Coroutine\Server as CServer;
use Swoole\Coroutine\Http\Server as CHServer;
2022-01-09 03:49:02 +08:00
/**
*
*/
class OnWorkerStart
{
2022-06-16 17:38:22 +08:00
/**
2022-06-20 17:25:01 +08:00
* @param Server|CHServer|CServer|null $server
2022-06-16 17:38:22 +08:00
* @param int $workerId
*/
2022-06-20 17:25:01 +08:00
public function __construct(public Server|null|CHServer|CServer $server, public int $workerId)
2022-06-16 17:38:22 +08:00
{
}
2022-01-09 03:49:02 +08:00
}