This commit is contained in:
2021-11-18 11:37:12 +08:00
parent adc63be3e4
commit 740dc7ebbd
17 changed files with 27 additions and 27 deletions
+17
View File
@@ -0,0 +1,17 @@
<?php
namespace Server\Contract;
use Swoole\Server;
interface OnTaskInterface
{
public function execute();
public function finish(Server $server, int $task_id);
}