Table of Contents

Method GetExecutionTargetAsync

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

GetExecutionTargetAsync(CancellationToken)

Ensures the current run has an executor and returns the target details used by background jobs.

Task<ShellExecutionTarget> GetExecutionTargetAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

Task<ShellExecutionTarget>