This commit is contained in:
2023-04-22 02:04:31 +08:00
parent 3c0581c2f6
commit ba81504942
9 changed files with 446 additions and 401 deletions
+17
View File
@@ -0,0 +1,17 @@
<?php
namespace Kiri\Server\Task;
interface TaskInterface
{
/**
* @param array $handler
* @param int|null $workerId
* @return void
*/
public function dispatch(array $handler, ?int $workerId = null): void;
}