Class WorkDoneTracking
The progress of the work done for one request, tracked (TrackWorkDone()): its token, and what stops the tracking.
public sealed record WorkDoneTracking : IDisposable, IEquatable<WorkDoneTracking>
- Inheritance
-
WorkDoneTracking
- Implements
- Inherited Members
Constructors
WorkDoneTracking(ProgressToken?, IDisposable?)
The progress of the work done for one request, tracked (TrackWorkDone()): its token, and what stops the tracking.
public WorkDoneTracking(ProgressToken? Token, IDisposable? Tracking)
Parameters
TokenProgressTokenThe token to give the request; null when the client cannot be reported progress to.
TrackingIDisposableWhat stops the tracking.
Properties
Token
The token to give the request; null when the client cannot be reported progress to.
public ProgressToken? Token { get; init; }
Property Value
Tracking
What stops the tracking.
public IDisposable? Tracking { get; init; }
Property Value
Methods
Dispose()
Stops the tracking: the request is answered, and its work is done, whether it was reported as ended or not.
public void Dispose()