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
heldHeldSpecialistThe held record.
cancellationTokenCancellationTokenCancels the call.
Returns
- ValueTask
Remarks
Held in this instance's memory, for the life of the process.