This commit is contained in:
2021-11-30 14:32:56 +08:00
parent 4d1587bc8d
commit 2870a64792
19 changed files with 936 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
<?php
namespace Kiri\Server\Contract;
use Swoole\Server;
interface OnTaskInterface
{
public function execute();
public function finish(Server $server, int $task_id);
}