d8222366b1
This reverts commit fdf58326
18 lines
168 B
PHP
18 lines
168 B
PHP
<?php
|
|
|
|
|
|
namespace Kiri\Task;
|
|
|
|
|
|
use Swoole\Server;
|
|
|
|
interface OnTaskInterface
|
|
{
|
|
|
|
public function execute();
|
|
|
|
|
|
public function finish(Server $server, int $task_id);
|
|
|
|
}
|