Table of Contents

Method GetSessionAsync

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

GetSessionAsync(CancellationToken)

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

Task<IExecutionSession> GetSessionAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

Task<IExecutionSession>