src/Leevel/Protocol/Server.php
public function onFinish(SwooleServer $server, int $taskId, string $data): void
    {
        $this->log(
            sprintf('Task %d finish, the result is %s', $taskId, $data)
        );
    }
public function onFinish(SwooleServer $server, int $taskId, string $data): void
    {
        $this->log(
            sprintf('Task %d finish, the result is %s', $taskId, $data)
        );
    }
监听连接 Finish 事件.

@param \Swoole\Server $server
@param int            $taskId
@param string         $data

@see https://wiki.swoole.com/wiki/page/136.html