Documentation
Table of Contents

Method SaveHeldAsync

Namespace
IntentSharp.Specialist
Assembly
IntentSharp.Specialist.dll

SaveHeldAsync(HeldSpecialist, CancellationToken)

Keeps the held record of the specialist put in use for an intent, replacing the one held for that intent before. The default keeps nothing, so a store that does not implement the held members never recalls a specialist.

public ValueTask SaveHeldAsync(HeldSpecialist held, CancellationToken cancellationToken)

Parameters

held HeldSpecialist

The held record.

cancellationToken CancellationToken

Cancels the call.

Returns

ValueTask

Remarks

Held in this instance's memory, for the life of the process.