Table of Contents

Method ReadCommandOutputAsync

Namespace
Oscova.Agents.Toolsets
Assembly
Oscova.Agents.dll

ReadCommandOutputAsync(string, long, int?, CancellationToken)

Reads incremental output from a background shell command.

public Task<object> ReadCommandOutputAsync(string jobId, long afterOffset = 0, int? maxBytes = null, CancellationToken cancellationToken = default)

Parameters

jobId string
afterOffset long
maxBytes int?
cancellationToken CancellationToken

Returns

Task<object>