Table of Contents

Method GetAllEnabledTasksAsync

Namespace
Oscova.Agents.Tasks
Assembly
Oscova.Agents.dll

GetAllEnabledTasksAsync(CancellationToken)

Returns all task definitions that are currently enabled, across all users. Used by the scheduler to determine which tasks are eligible to run.

Task<IReadOnlyList<AgentTaskDefinition>> GetAllEnabledTasksAsync(CancellationToken ct = default)

Parameters

ct CancellationToken

Returns

Task<IReadOnlyList<AgentTaskDefinition>>