eee
This commit is contained in:
+3
-2
@@ -4,6 +4,7 @@ declare(strict_types=1);
|
|||||||
namespace Kiri\Router;
|
namespace Kiri\Router;
|
||||||
|
|
||||||
use Closure;
|
use Closure;
|
||||||
|
use Kiri\Server\Events\OnWorkerStart;
|
||||||
use Kiri;
|
use Kiri;
|
||||||
use Kiri\Abstracts\CoordinatorManager;
|
use Kiri\Abstracts\CoordinatorManager;
|
||||||
use Kiri\Coordinator;
|
use Kiri\Coordinator;
|
||||||
@@ -174,9 +175,9 @@ class Router
|
|||||||
/**
|
/**
|
||||||
* @throws
|
* @throws
|
||||||
*/
|
*/
|
||||||
public function scan_build_route(): void
|
public function scan_build_route(OnWorkerStart $onWorkerStart): void
|
||||||
{
|
{
|
||||||
var_dump(func_get_args());
|
var_dump($onWorkerStart->workerId);
|
||||||
|
|
||||||
$coordinator = CoordinatorManager::utility(Coordinator::WORKER_START);
|
$coordinator = CoordinatorManager::utility(Coordinator::WORKER_START);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user