This commit is contained in:
2025-07-11 11:50:54 +08:00
parent 251e05dbf7
commit c767a1745a
5 changed files with 97 additions and 22 deletions
+17
View File
@@ -0,0 +1,17 @@
<?php
namespace Kiri\Server\Task;
interface OnTaskInterface
{
/**
* @param int $task_id
* @param int $src_worker_id
* @return mixed
*/
public function process(int $task_id, int $src_worker_id): mixed;
}