Table of Contents

Interface IExecutionBackgroundJob

Namespace
Oscova.Agents.Execution
Assembly
Oscova.Agents.dll

Reports and stops a backend job while its host retains public identity and ownership.

public interface IExecutionBackgroundJob : IAsyncDisposable

Implements

Properties

Completion

Completes when the command ends, allowing ownership and retention cleanup without another tool call.

ExitCode

Gets the reported exit code when available.

HasExited

Gets whether the backend command has exited.

Methods

RefreshAsync(CancellationToken)

Refreshes remote output and completion state.

StopAsync(CancellationToken)

Stops the command and its children.