Пример #1
0
    internal async Task <long> StopAsync()
    {
        var exitCode = await _container.GetExitCode();

        // for now, save container's file content locally
        var fileContent = await _container.ReadFileAsync(ContainerResultsPath);

        await _resultStream.WriteAsync(fileContent);

        return(exitCode);
    }