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
@@ -0,0 +1,29 @@
<?php
namespace Kiri\Server\Contract;
use Swoole\Process;
/**
* Interface BaseProcess
* @package Contract
*/
interface OnProcessInterface
{
/**
* @param Process $process
*/
public function onHandler(Process $process): void;
/**
*
*/
public function onProcessStop(): void;
}