eee
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user