Documentation
Table of Contents

Method GetReportAsync

Namespace
IntentSharp.Trials
Assembly
IntentSharp.dll

GetReportAsync(DocumentId, CancellationToken)

The report of the trial of document that is running now; null when none is. With a document store, the write of every sample recorded so far has finished when this returns.

public ValueTask<TrialReport?> GetReportAsync(DocumentId document, CancellationToken ct = default)

Parameters

document DocumentId

The intent document on trial.

ct CancellationToken

Stops waiting for the pending writes of the counts.

Returns

ValueTask<TrialReport>