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
documentDocumentIdThe intent document on trial.
ctCancellationTokenStops waiting for the pending writes of the counts.
Returns
- ValueTask<TrialReport>