Table of Contents

Class WorkDoneTracking

Namespace
RDCore.SDK.Client
Assembly
RDCore.SDK.dll

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

Token ProgressToken

The token to give the request; null when the client cannot be reported progress to.

Tracking IDisposable

What 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

ProgressToken

Tracking

What stops the tracking.

public IDisposable? Tracking { get; init; }

Property Value

IDisposable

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()