Table of Contents

Property OnSuccessAsync

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

OnSuccessAsync

Optional callback invoked after the agent run succeeds and before the run is marked completed. If this throws, the run is marked failed.

public Func<CancellationToken, Task>? OnSuccessAsync { get; init; }

Property Value

Func<CancellationToken, Task>?